Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a program that will calculate and print to the screen a sales receipt. + Required:+ 1. First 3 lines of code will be
Create a program that will calculate and print to the screen a sales receipt. + Required:+ 1. First 3 lines of code will be three comment lines+ a. Name of the cpp file+ b. Your name+ c. Why you are doing this program+ 2. The user will enter in the number of sales items 3. The user will enter in the price for each item + 4. The user will enter in the sales tax percentage+ 5. Output+ a. Title for the output+ b. Money amount have 2 decimal point places++ c. Money amount to be aligned+ d. Boarder around the output+ 6. The user will have the ability to run this program again.+ The figure below should be used as an EXAMPLE and you should follow the format of the receipt. < 3 C. "C:\Users\jlong\Desktop\HW\cpp\Debug\hw.exe" How many sales items do you have? Enter in the value of sales item 1 : $10 Enter in the value of sales item 2: $10 Enter in the value of sales item 3 : $10 Enter in the sales tax percentage KEnter 10 for 10%): 6 ** ** SALES ** ** Total Sales ** Sales tax ** ** Grand Total ** ** RECEIPT 30.00 ** ** ** ** ** 1.80 ** ** 31.80 ** ****** ** ** Do you want to run this program again? (Y/N):
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