← Back to Printing
Question 72
True And False On Screen
True And False On Screen
Print three lines of output: the declared boolean itself, then the result of comparing the declared age with 18 using greater-than, then the result of comparing it using less-than. A comparison is a value that prints as the word True or False with a capital letter. Input: none; the values are fixed in the code.
Expected Output:
True True False
= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
Printing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.