Question: Write the pseudo-code to calculate and print the total cost of an item. The subtotal cost is based on unit cost and quantity, and

Write the pseudo-code to calculate and print the total cost of an 

Write the pseudo-code to calculate and print the total cost of an item. The subtotal cost is based on unit cost and quantity, and the total cost is based on subtotal and a 15% tax rate. Compute the following two variables: subtotal = unit *quantity total = subtotal + tax * subtotal The unit cost is based on the price-break table below, and your solution must use an if-statement to determine the correct unit cost. Ask the user for the quantity and print the total cost. quantity 1 2 to 4 5 or more unit cost $3.00 $2.00 $1.50

Step by Step Solution

3.42 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Certainly Below is a pseudocode to calculate and print the total cost of an item based on the giv... View full answer

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 Programming Questions!