Write a program to create an invoice for the De Anza College Computer Lab when replacing electronics. CIS Department needs to replace the following periodically: External Monitor, Dell Keyboard, Dell Mouse, Windows Professional 10 OS for Dell T1700, and Network printer. The unit prices for these are $159.99, $18.30, $16.45, $199.99, and $599.89, respectively. Input Prompt the user and input for the quantity of each product ordered. Sample run showing input from user: How many External Monitor s were ordered? 3 How many Dell keyboards players were ordered? 12 How many Dell Mouse units were ordered? 5 How many Windows 10 os were ordered? 6 How many Network Printers were ordered? 7 Calculations/Processing Calculate the subtotal for each item. Catculate and the subtotal of the bill and the tax on this subtotal. Last calculate the total of subtotal plus tax. Оutрut Format the output as shown below. QTY Description Unit Price Total Price XX EXTERNAL MONITOR XXXX.XX XXXXX.XX XX DELL KEYBOARD XXXX.XX XXXXX.XX XX DELL MOUSE XXXX.XX XXXXX.XX XX WINDOWS OS XXXX.XX XXXXX.XX XX NETWORK PRINTER XXXX.XX XXXXX.XX SUBTOTAL XXXXX.XX ТАХ XXXX.XX ТОТAL XXXXX.XX

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter5: Making Decisions
Section: Chapter Questions
Problem 4PE
icon
Related questions
Question

Using c++ computer language

Sample output
QTY
Description
Unit Price
Total Price
3
EXTERNAL MONITOR
159.99
479.97
12
DELL KEYBOARD
18.30
219.60
DELL MOUSE
16.45
82.25
40
WINDOWS OS
199.99
7999.60
7
NETWORKED PRINTER
599.89
4199.23
SUBTOTAL
12980.65
ТАХ
1168.26
ТОTAL
14148.91
Checkpoints Also see rubric in submission area
1) Include name, e-mail, and lab# as comments in code and include code to output
this information to the output.
2) Minimum of five (5) comments in main()
3) Use a defined constant for the tax rate
4) Use a memory constant for each unit price
5) Output must be formatted exactly as above with decimal points lined up.
Transcribed Image Text:Sample output QTY Description Unit Price Total Price 3 EXTERNAL MONITOR 159.99 479.97 12 DELL KEYBOARD 18.30 219.60 DELL MOUSE 16.45 82.25 40 WINDOWS OS 199.99 7999.60 7 NETWORKED PRINTER 599.89 4199.23 SUBTOTAL 12980.65 ТАХ 1168.26 ТОTAL 14148.91 Checkpoints Also see rubric in submission area 1) Include name, e-mail, and lab# as comments in code and include code to output this information to the output. 2) Minimum of five (5) comments in main() 3) Use a defined constant for the tax rate 4) Use a memory constant for each unit price 5) Output must be formatted exactly as above with decimal points lined up.
Write a program to create an invoice for the De Anza College Computer Lab when
replacing electronics. CIS Department needs to replace the following periodically:
External Monitor, Dell Keyboard, Dell Mouse, Windows Professional 10 OS for Dell
T1700, and Network printer. The unit prices for these are $159.99, S18.30, $16.45,
$199.99, and $599.89, respectively.
прut
Prompt the user and input for the quantity of each product ordered.
Sample run showing input from user:
How many External Monitor s were ordered? 3
How many Dell keyboards players were ordered? 12
How many Dell Mouse units were ordered? 5
How many Windows 10 OS were ordered? 6
How many Network Printers were ordered? 7
Calculations/Processing
Calculate the subtotal for each item. Catculate and the subtotal of the bill and the tax on
this subtotal. Last calculate the total of subtotal plus tar
Оuрut
Format the output as shown below.
QTY Description
Unit Price
Total Price
XX
EXTERNAL MONITOR
XXXX.XX
XXXXX.XX
XX
DELL KEYBOARD
ХXXX.XX
ХXXXX.XX
XX
DELL MOUSE
XXXX.XX
ХXXXX.XX
XX
WINDOWS OS
ХXXX.XX
XXXXX.XX
XX
NETWORK PRINTER
ХXXX.XX
XXXXX.XX
SUBTOTAL
ХXXXX.XX
ТАX
ХXXX.XX
ТОTAL
ХXXXX.XX
Transcribed Image Text:Write a program to create an invoice for the De Anza College Computer Lab when replacing electronics. CIS Department needs to replace the following periodically: External Monitor, Dell Keyboard, Dell Mouse, Windows Professional 10 OS for Dell T1700, and Network printer. The unit prices for these are $159.99, S18.30, $16.45, $199.99, and $599.89, respectively. прut Prompt the user and input for the quantity of each product ordered. Sample run showing input from user: How many External Monitor s were ordered? 3 How many Dell keyboards players were ordered? 12 How many Dell Mouse units were ordered? 5 How many Windows 10 OS were ordered? 6 How many Network Printers were ordered? 7 Calculations/Processing Calculate the subtotal for each item. Catculate and the subtotal of the bill and the tax on this subtotal. Last calculate the total of subtotal plus tar Оuрut Format the output as shown below. QTY Description Unit Price Total Price XX EXTERNAL MONITOR XXXX.XX XXXXX.XX XX DELL KEYBOARD ХXXX.XX ХXXXX.XX XX DELL MOUSE XXXX.XX ХXXXX.XX XX WINDOWS OS ХXXX.XX XXXXX.XX XX NETWORK PRINTER ХXXX.XX XXXXX.XX SUBTOTAL ХXXXX.XX ТАX ХXXX.XX ТОTAL ХXXXX.XX
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Knowledge Booster
Introduction to computer system
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,