Question: Integers userNum 1 and userNum 2 are read from input. Write one if statement and one if - else statement: If userNum 1 is less
Integers userNum and userNum are read from input. Write one if statement and one ifelse statement:
If userNum is less than then output "userNum is negative."
If userNum is less than then assign userNum with
Otherwise, output "userNum is greater than or equal to
End each output with a newline.
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
