Question: In c++ please attaching reference of exercise 5.39 solve 6.10 using c++ ,5.39 is for reference purpose only 0 (Financial application: find the profit-per-item) Use

 In c++ please attaching reference of exercise 5.39 solve 6.10 using

In c++ please

attaching reference of exercise 5.39

c++ ,5.39 is for reference purpose only 0 (Financial application: find the

solve 6.10 using c++ ,5.39 is for reference purpose only

0 (Financial application: find the profit-per-item) Use the scheme in programming Exercise 5.39 to write a function that computes the profit-per-item. The header of the function is: double computeProfitPerItem(double quantity) Write a test program that displays the following table: (Financial application: find the profit-per-item) You have just started a new stationary shop. Your profit-per-item depends on the total quantity of item sold. The scheme shown below is used to determine the total profit: Note that this is a graduated profit. The profit for selling up to 1000 items is $1, for next 4000 items is $2 and beyond that is $5. If the total quantity of item sold is 10000 , the profit is 1000$1+4000$2+5000$5=$34000. Your goal is to make $50,000 a year. Write a program that uses a do-while loop to find out the minimum quantity of item you have to sell in order to make $50,000

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!