To work or not to work? That is the question

  • 3
  • Locked
Let's write a program that will read an age from the keyboard. If the age is in the range from 20 to 60 (inclusive), then don't display anything. Otherwise, display the phrase "You don't have to work". You can (and must!) do this with only one if statement (without an else block). Hint: use the || (
You can't complete this task, because you're not signed in.
Comments
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet