Question: 8. Total Purchase A customer in a store is purchasing five items. The prices of the five items are: Price of item 1 = $12.95
8. Total Purchase A customer in a store is purchasing five items. The prices of the five items are: Price of item 1 = $12.95 Price of item 2 = $24.95 Price of item 3 = $6.95 Price of item 4 = $14.95 Price of item 5 = $3.95 Write a program that holds the prices of the five items in five variables. Display each item's price, the subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is 6%. 9. Cyborg Data Type Sizes You have been given a job as a programmer on a Cyborg supercomputer. In order to accomplish some calculations, you need to know how many bytes the following data types use: char, int, float, and double. You do not have any manuals, so you can't look this information up. Write a C++ program that will determine the amount of memory used by these types and display the information on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
