Exercise 7: Relational and Logical Operators
Let's test your understanding of relational and logical operators.
We'll cover the following
Problem Statement
Check whether the given test variable is greater than and less than .
Use
cat()
to display the output on the screen.
Input
A testVariable
containing the number being tested.
Output
TRUE
or FALSE
depending on whether the number satisfies the condition or not.
Sample Input
19
Sample Output
FALSE
Test Yourself
Write your code in the given area. If you get stuck, you can look at the solution.
# Write your code herecat(" ")