Question: Integers numInput 1 and numInput 2 are read from input. If numInput 1 is greater than or equal to 5 , then output numInput 1

Integers numInput1 and numInput2 are read from input.
If numInput1 is greater than or equal to 5, then output "numInput1 is greater than or equal to 5."
If numInput2 is greater than 30, then assign numInput2 with 2.
Otherwise, output "numInput2 is less than or equal to 30."
End each output with a newline.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!