โ Back to If Statements
Question 378
Discount Eligibility
Discount Eligibility
A store gives a discount on orders of 50 dollars or more. Read adoubleamount(the order total). Ifamountis at least 50, printDiscount; otherwise printNo discount. For example, given the input60, the program prints: Discount
Expected Output:
Discount
Topics:
If Statements
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cout, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.