Question: Integers userInput 1 and userInput 2 are read from input. Write one if statement and one if - else statement: If userInput 1 is greater
Integers userInput and userInput are read from input. Write one if statement and one ifelse statement:
If userInput is greater than then output "userInput is positive."
If userInput is greater than or equal to then assign userInput with
Otherwise, output "userInput is less than
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
