Question: Write a program segment that contains a single If-Then-Else statement and which inputs Num, then displays Yes if Num == 1 and displays No otherwise.
Write a program segment that contains a single If-Then-Else statement and which inputs Num, then displays "Yes" if Num == 1 and displays "No" otherwise.
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
Input Num ... View full answer
Get step-by-step solutions from verified subject matter experts
