Given a char variable t that has already been given a value , write an expression whose value is true if and only if t is NOT one of the first six letters in the alphabet.
LANGUAGE: JAVA
CHALLENGE:
Given a char variable t that has already been given a value , write an expression whose value is true if and only if t is NOT one of the first six letters in the alphabet.
SOLUTION:
LANGUAGE: JAVA
CHALLENGE:
Given a char variable t that has already been given a value , write an expression whose value is true if and only if t is NOT one of the first six letters in the alphabet.
SOLUTION:
((t < 'a' || t> 'f') && (t <'A' || t > 'F'))