Question: Write a C++ program to calculate the cost per item and the total cost for a bulk order Quantities of 1 to 99 will be

Write a C++ program to calculate the cost per item and the total cost for a bulk order

Quantities of 1 to 99 will be charged $2.59 per item

Quantities of 100 to 499 will be charged $2.29 per item

Quantities of 500 to 1999 will be charged $2.19 per item

Quantities of 2000 or more will be charged $1.99 per item

Sample Run #1 (bold, underlined text is what the user types):

Quantity? 10 Price per unit: $2.59 Total prices: $25.9

Could you wright me a code with explanation of how you arrive to that solution please step by step.

The math section is always the hardest part for me.

THANK YOU

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!