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