Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

8. Explain the relationship between communication and context.

Answered: 1 week ago

Question

d. How were you expected to contribute to family life?

Answered: 1 week ago