Assume that x is a char variable that has been declared and already given a value. Write an expression whose value is true if and only if x is a lower-case letter.

Assume that x is a char variable that has been declared and already given a value.  Write an expression whose value is true if and only if x is a lower-case letter.

LANGUAGE: Visual Basic

CHALLENGE:

Assume that x is a char variable that has been declared and already given a value. Write an expression whose value is true if and only if x is a lower-case letter.

SOLUTION:

(x >= "a") And (x <= "z")


Add comment