Click here to Skip to main content
15,891,867 members

Comments by Hussainomer (Top 2 by date)

Hussainomer 15-Feb-20 12:01pm View    
Basically, the assignment is asking me to output two different options (option1 and option2), I got the option1 part working out but idk how to make the option2 part running, so it's different than options1.

Instructions:

Option 2:
The same as Option 1, except no more than one statement is output. The statement should only mention the lowest boundary number that applies.

Restriction: You may not use compound Boolean expressions! ( && or || )

Input

Input Expected Output
2
2 2 is less than 5

2
7 7 is less than 10

2
14 14 is less than 20

the first number is the options2, and second is the value
Hussainomer 15-Feb-20 11:42am View    
I got the first option part running but how do I modify or change the scanner so option2 becomes another option.