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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education