Question: 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

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 OS Precision T1700, and Network printer.The unit prices for theseare $18.15, $18.30, $16.45, $2020.0, and $1100.00,respectively.

Input

Prompt the user and input for the quantity of each product ordered

.

Sample run showing input from user:

How many External Monitors were ordered? 3

How many Dell keyboards players were ordered?12

How many Dell Mouse units were ordered?5

How many Windows OS were ordered?6

How many Network Printers were ordered? 7

Calculations/Processing

Calculate the subtotal for each item. Calculate and the subtotal of the bill and the tax on this subtotal. Last calculate the total of subtotal plus tax.

Output

Format for 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

TAX

XXXX.XX

TOTAL

XXXXX.XX

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!