The program is for a shop that has a 5 day sale once a month. On day one, everything is discounted 5%. On day two, everything is discounted 10%. By day 5, everything is discounted by 25%. We need a program that calculates how much an item costs on each day based on the sale day. For example, a clerk enters the regular price of an item as $10.00. The program then displays the discounted price for day one, day two and so forth. For day one the price displayed would be $9.50. For day two, the price would be $9.00. By day five, the price would be $7.50. Note that you have to use a loop to do the calculations.
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-63584.pdf
Comments
Leave a comment