Write a program segment that contains a single If-Then-Else statement and which inputs Num, then displays Yes

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: