Question: C++ with basics solve it in 30 mins for thumbs up Suppose you own a small shop for selling Xbox DVDs and you would like
Suppose you own a small shop for selling Xbox DVDs and you would like to calculate the amount to be paid by a customer. Note that the price is $20 per DVD. Write a C++ program that will ask the user to input the number of DVDs bought by the customer, and the customer type as: (10 points) 'N': for a new customer 'O': for an old customer A customer will get a deduction percentage on his bill amount as follows: (20 points) An old customer will have a 20% deduction. A new customer will have a deduction on his bill depending on his bill amount value: . . -If the bill amount is greater than $200, the discount is 10% - If the bill amount is between 100 and 200, the discount is 5% -If the amount is less than 100, the discount is a The program should compute and output the amount to be paid by a client after deducting the discount value from his original bill amount. (15 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
