Discount Eligibility
easyQuestion 378A 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 the output shown in Expected Output.
Expected output
Discount= newline. The output ends with a newline, so print one after the last line.
Hints3 available
Sign in to use hintsTopics
If Statements
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · 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.