Answered step by step
Verified Expert Solution
Question
1 Approved Answer
program is on Test Program 5A on page 5-7) The upgrade will not only calculate multiple sales items, but it will store and print the
program is on Test Program 5A on page 5-7) The upgrade will not only calculate multiple sales items, but it will store and print the item's amount. This is what is needed:v Required:* 1. First 3 lines of code will be three comment lines a. Name of the cpp filev b. Your name c. Why you are doing this program 2. The user will enter in the number of sales itemst 3. The user will enter in the price for each item 4. The user will enter in the sales tax percentage- 5. Output Title for the output- The price of each sales items The sales price total- The sales taxv The grand total- ount have 2 decimal point places Money amount to be aligned Boarder around the output 6. The user will have the ability to run this program again Fig. 1 is an example of the input screen. G"C:Documents and SettingsljlongDesktopH nter in the value of saies iten 1510 ter in the value of sales item 2 : $20 ter in the value of sales item 3$30 ter in the value of sales item 4 : $40 ter in the value of sales item 5: $50 ow nany sales items do you have5 Fig. 1v Fig.2 is an example of the output screen "C:Documents and SettingsljlongDesktopHW S ALE S R E CEIPT Sales iten 1 Sales ite 2 Sales item 3 Sales item 4 Sales ite 5 10.00 20.00 30.00 40.00 50.00 Total Sales Sales tax 150.00 9.00 Grand Total $159.00 ess any key to continue Fig. 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started