โ Back to If Statements
Question 310
Yes or No
Yes or No
Read an integer from input that is either1or0. If it is1, printYes. Otherwise printNo. For example, for input1, print: Yes
Expected Output:
Yes
Topics:
If Statements
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.