Question: user _ input 1 and user _ input 2 are read from input. Write one if statement and one if - else statement: If user

user_input1 and user_input2 are read from input. Write one if statement and one if-else statement:
If user_input1 is greater than or equal to 15, then output 'user_input1 is greater than or equal to 15.'
If user_input2 is less than 35, then assign user_input2 with 1.
Otherwise, output 'user_input2 is greater than or equal to 35.'

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 Programming Questions!