Inputting data, using constants, calculating, and formatting
You are going to buy a new laptop. As a smart consumer, you are going to have to determine the actual price of the laptop and the how much you will pay for laptop.
The total price of the laptop consists of four things:
The disposal fee is constant for any laptop, regardless of the number of upgrades you select. This value is $12.50.
The state sales tax is 6% of the total price of the laptop and the upgrades; there is no tax on the disposal fee.
The down payment for the laptop is the 11% of the total cost of the laptop (purchase price + upgrades). The remaining amount will be financed. Note: the amount financed does not include the disposal fee and sales tax. These are paid separately at purchase time.
Write a program that does the following:
Remember: all the costs are in dollars, so each value needs to be displayed with a dollar sign (“$”) and must be displayed to two decimal places. All the text should be left justified and all the costs should be right justified (with the decimal points lining up as shown in the sample output).
Constants are required and need to be used for the various calculations. Determine what constants your will need.
Be sure to get all the input then do all of the math (processing). Finally show all of the output.
Use the test data below. Create screenshots of your program (like below) using both sets of test data. Remember to use your own name. Submit the .cpp code file and the screen shots (.docx) files in Canvas.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.