Question: Write a program segment that contains two If-Then statements and which inputs Num, then displays Yes if Num == 1 and displays No otherwise.
Write a program segment that contains two If-Then statements and which inputs Num, then displays "Yes" if Num == 1 and displays "No" otherwise.
Step by Step Solution
3.58 Rating (165 Votes )
There are 3 Steps involved in it
Declare Num As Intege... View full answer
Get step-by-step solutions from verified subject matter experts
