Question: how could I set this up in c++ Write a program which computes the total cost of purchases made in a store compute the cost

how could I set this up in c++ how could I set this up in c++ Write a program which

Write a program which computes the total cost of purchases made in a store compute the cost plus 5.5% sales tax of purchases made if taxable. This program computes the total cost of purchases made. 1. Prompt the user for number of items purchased and price per item. 2. Prompt the user if the purchases is taxable 3. Calculate the totalCost where a. The number of items and price per item as parameters b. The totalCost of all items, including 5.5% tax if taxable. 4. Display information the number of items purchased, cost per item and the cost of all items in a nicely formatted output where the cost is set to 2 decimal places. (see sample run) 5. Using a for loop display the price from item I to total number of items a. Display the tax amount being applied (if not taxable) b. Display the total price of purchase with tax applied

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!