Question: An if statement and an if - else statement are used: An if statement evaluates whether userInput 1 < = 2 0 . If userInput
An if statement and an ifelse statement are used:
An if statement evaluates whether userInput If userInput then "userInput is less than or equal to is output.
An ifelse statement evaluates whether userInput:
If userInput then userInput is assigned with
Otherwise, "userInput is less than is output.
Not all tests passed.
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
