โ Back to If Statements
Question 94
Affordable or Not
Affordable or Not
Read a price (an integer). If it is 100 or less, print 'Affordable', otherwise 'Too expensive'.
Expected Output:
Affordable
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.