Use C++ Comment Lines: - Name of the cpp file - Your name - Why you are doing this program Input - Enter in the number of sales items - Enter in the name of the sales item - Enter in the price of the sales item  Output - Title for the output - The sales items names - The price of each sales items - The sales price total - The sales tax - The grand total - Money amount have 2 decimal point places - Money amount to be aligned - Boarder around the output The user will have the ability to run this program again

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter7: Working With The Bash Shell
Section: Chapter Questions
Problem 6DE
icon
Related questions
Question

Use C++

Comment Lines:
- Name of the cpp file
- Your name
- Why you are doing this program

Input
- Enter in the number of sales items
- Enter in the name of the sales item
- Enter in the price of the sales item
 Output
- Title for the output
- The sales items names
- The price of each sales items
- The sales price total
- The sales tax
- The grand total
- Money amount have 2 decimal point places
- Money amount to be aligned
- Boarder around the output
The user will have the ability to run this program again

ES...It's back!!!!...For the last time... You are to UPGRADE the calculate multiple sales items program. The
upgrade will not only calculate multiple sales items, but it will store and print the item's name. This is what is
needed:
Required:
1. First 3 lines of code will be three comment lines
Name of the cpp file
Your name
Why you are doing this program
2. Summary of the program on the screen
3. Input
-
-
4. Output
-
-
-
Enter in the number of sales items
Enter in the name of the sales item
Enter in the price of the sales item
Title for the output
The sales items names
The price of each sales items
The sales price total
The sales tax
The grand total
Money amount have 2 decimal point places
Money amount to be aligned
Boarder around the output
5. The user will have the ability to run this program again.
Fig. 1 is an example of the input screen.
CA "C:\Data\PSU Courses Fall 061CMPSC 101\In-classPfiles Chapter 9,10Web
Welcome to the new and approved Sales Receipt system.
This new system will not only calculate multiple sales items.
It will also store the name of the sales item.
Enjoy the new system!!!!
Fig. 1
Enter in the number of sales items to be calculated : 3
Enter in the
Enter in the
Enter in the
Enter in the
Enter in the
Enter in the
name of sales item number 1 : Books
price of the Books: $45.67
name of sales item number 2 : Pens
price of the Pens : $3.23
: Laptop
name of sales item number 3
price of the Laptop : $2000.00_
Transcribed Image Text:ES...It's back!!!!...For the last time... You are to UPGRADE the calculate multiple sales items program. The upgrade will not only calculate multiple sales items, but it will store and print the item's name. This is what is needed: Required: 1. First 3 lines of code will be three comment lines Name of the cpp file Your name Why you are doing this program 2. Summary of the program on the screen 3. Input - - 4. Output - - - Enter in the number of sales items Enter in the name of the sales item Enter in the price of the sales item Title for the output The sales items names The price of each sales items The sales price total The sales tax The grand total Money amount have 2 decimal point places Money amount to be aligned Boarder around the output 5. The user will have the ability to run this program again. Fig. 1 is an example of the input screen. CA "C:\Data\PSU Courses Fall 061CMPSC 101\In-classPfiles Chapter 9,10Web Welcome to the new and approved Sales Receipt system. This new system will not only calculate multiple sales items. It will also store the name of the sales item. Enjoy the new system!!!! Fig. 1 Enter in the number of sales items to be calculated : 3 Enter in the Enter in the Enter in the Enter in the Enter in the Enter in the name of sales item number 1 : Books price of the Books: $45.67 name of sales item number 2 : Pens price of the Pens : $3.23 : Laptop name of sales item number 3 price of the Laptop : $2000.00_
Fig.2 is an example of the output screen.
CA "C:\Data\PSU Courses Fall 06\CMPSC 101 In-class Pfi --*
Item Names
Books
Pens
Laptop
Sales Total
Sales Tax
Grand Total
EB
Fig. 2
+-+
514
SALES RECEIPI *
Press any key to continue__
10
VEU
$
Price
======
45.67
3.23
2000.00
*******
2048.90
122.93
2171.83
==
#1 EN
Z
**
**
Transcribed Image Text:Fig.2 is an example of the output screen. CA "C:\Data\PSU Courses Fall 06\CMPSC 101 In-class Pfi --* Item Names Books Pens Laptop Sales Total Sales Tax Grand Total EB Fig. 2 +-+ 514 SALES RECEIPI * Press any key to continue__ 10 VEU $ Price ====== 45.67 3.23 2000.00 ******* 2048.90 122.93 2171.83 == #1 EN Z ** **
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
File Input and Output Operations
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
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,