Use C++ Language 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. 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.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter7: String Manipulation
Section: Chapter Questions
Problem 18RQ: Which of the following expressions evaluates to True when the strItem variable contains the string...
icon
Related questions
Question

Use C++ Language

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. 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.

ca. "C:\Users\jlong\Desktop\HW\cpp\Debug\hw.exe"
How many sales items do you have? : 3
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
(Enter 10 for 10%): 6
*** SALES RECEIPT
*-*
Total Sales
30.00
1.80
*-*
Sales tax
*-*
*
*-*
Grand Total
$
31.80
Do you want to run this program again? (Y/N):
tipi
SS
PARA ENAM
-OX
Transcribed Image Text:ca. "C:\Users\jlong\Desktop\HW\cpp\Debug\hw.exe" How many sales items do you have? : 3 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 (Enter 10 for 10%): 6 *** SALES RECEIPT *-* Total Sales 30.00 1.80 *-* Sales tax *-* * *-* Grand Total $ 31.80 Do you want to run this program again? (Y/N): tipi SS PARA ENAM -OX
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Algebraic Expressions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning