Mars hyper market gives discount to customers based on their spending. If a customer spends 20 Omani Rials (OMR), a discount of 10% is applied on a total spending. Customers spending more than 20 to...


Mars hyper market gives discount to customers based on their spending. If a customer spends 20 Omani Rials (OMR), a discount of 10% is applied on a total spending. Customers spending more than 20 to 50 OMR get 20%
discount on their total spending, and customers spending more than 50 OMR get 30% discount is applied on a total spending.
Write a C++ program that prompts a hypermarket assistant to enter customer’s total spending, and the program displays “Welcome to MARS Hyper Market”, and then displays the discount on the amount and the final payment after applying the discount.



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here