CJCoding With Joseph

Discount Eligibility

A store gives a discount on orders of 50 dollars or more. Read a double amount (the order total). If amount is at least 50, print Discount; otherwise print No discount.

For example, given the input 60, the program prints:

Discount

Expected Output:

Discount
Topics:
If Statements
๐Ÿ“ฅ Auto-Input:
60
This input is automatically fed to your program's stdin
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.