You have a product that is on sale. Each day of the sale, the price drops 10% from its previous price. The sale lasts for 4 days. I have to write a program that processes this problem using a loop. Each pass through the loop should generate the sale price for a a day of the sale and display that price along with the day number.
Which loop would I use ? I cannot seem to figure this out.