Question: Lab 10-Functions Super Sale SSS Write a C+program asks the user to enter an item's retail price and its discount percentage. It should then For

 Lab 10-Functions Super Sale SSS Write a C+program asks the user

Lab 10-Functions Super Sale SSS Write a C+program asks the user to enter an item's retail price and its discount percentage. It should then For example, if an item's regular price is $10.00 and it is Write a function that displays a welcome message display the item's sale price. on sale for 20% off, the sale price is $8.00 that gives a brief description of what the program does. Write another function called caleSalePrice that takes the retail price and discount percentage as arguments and returns the sale price of the item. Include a do-while loop that allows the user to run Mark just discovered there is a substantial penalty for overdrawing his account. program again There is sample output on the next slide CS 110-Intro to Computer Science Week 10 Sample Output: Helcome to the Super Sales program! This program will calculate sale prices for you nter the retail price of the item: 10.00 nter the discount percentage of the item: 20 he sale price is Hould you like to run this program again? y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!