Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a C + + program to create an invoice for the ChirtoscCollege Advance Technology Building CIS computer mobile lab for 2 0 2 4
Write a C program to create an invoice for the ChirtoscCollege Advance Technology Building CIS computer mobile lab for CIS Department andor computer related clubs often wish to host events where only rooms available have no computers for participantsstudents
Request include the following. Dell XPS Laptops Dell XPS Laptopwith Windows Pro at $ each. A charging cart to store charge, and easily move the computers costing LocknCharge Joey Storage for laptops at $ each. For every laptops one of these would need to be ordered, but this value is intended to be input and not calculated as we did in Lab Disposable Earbuds Plugin earbuds at each.
ZOWEETEK ZWZ Portable Rechargeable Mini Voice Amplifier at $ Wired USB Computer Mouse at $ each.
Input
Prompt the user and input for the quantity of each product ordered.
Sample run showing input from user:
How many Dell XPS Laptops?
How many carts for charging and storing computers?
How many earbuds ordered?
How many microphones ordered?
How many wired usb mouses ordered?
CalculationsProcessing
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.
Output
Format for output as shown below.
QTY Description Unit Price Total Price
XXX CHARGE & STORAGE CARTS XXXXXX XXXXXXXX
XXX DELL XPS LAPTOPS XXXXXX XXXXXXXX
XXX DISPOSABLE EARBUDS XXXXXX XXXXXXXX
XXX MICROPHONE XXXXXX XXXXXXXX
XXX WIRED USB MOUSE XXXXXX XXXXXXXX
SUBTOTAL XXXXXXXX
TAX XXXXXXX
TOTAL XXXXXXXX
Sample output
QTY Description Unit Price Total Price
CHARGE & STORAGE CARTS
DELL XPS LAPTOPS
DISPOSABLE EARBUDS
MICROPHONE
WIRED USB MOUSE
SUBTOTAL
TAX
TOTAL
Checkpoints
Include name, email, and lab# as comments in code and include code to output this information to the output.
Minimum of five comments in main
Use a defined constant for the tax rate currently for Cupertino CA
Use a memory constant for each unit price
Output must be formatted exactly as above with decimal points lined up
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started