107k views
14 votes
(3)(6 Points) During a sale at a store, a 10% discount is applied to purchases over $10.00. Write a program that asks for the amount of a purchase, then calculates the discounted price. The purchase amount will be input in cents (as an integer). These are two examples of your expected program's execution.

1 Answer

2 votes
I only need point sort
User Cosmo Harrigan
by
3.0k points