Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started