Assume that s is a string. Write an expression whose value is true if and only if the value of s would come between “mortgage” and “mortuary” in the dictionary.

Assume that s is a string.  Write an expression whose value is true if and only if the value of s would come between “mortgage” and “mortuary” in the dictionary.

LANGUAGE: Visual Basic

CHALLENGE:

Assume that s is a string. Write an expression whose value is true if and only if the value of s would come between “mortgage” and “mortuary” in the dictionary.

SOLUTION:

(s >= "mortgage") And (s <= "mortuary")


Add comment