# Answer to Question #38413 in C++ for subodh

Question #38413

In an off-season sale following schemes of discounts are offered to the customers:

(i) If the customer buys items for a total marked price of Rs. 1000/- to Rs. 2000 then the discount is

20%.

(ii) If the customer items for a total marked price of Rs. 2001/- to Rs. 5000/- then the discount is 30%.

(iii) If the customer buys items for a total marked price of more than Rs. 5000, then the discount s 40%.

Write a program to input the value of Total Marked Price from the user and then calculate the discount,

and gross total. Then apply VAT @12.5% on the gross total. The program should display The Total

Marked Price, Discount, Gross Amount, VAT, and Net Amount Payable by the customer. The program

should continue as long as the user wants. Write and use a function to calculate the discount, gross total,

VAT, and Net Amount Payable.

(i) If the customer buys items for a total marked price of Rs. 1000/- to Rs. 2000 then the discount is

20%.

(ii) If the customer items for a total marked price of Rs. 2001/- to Rs. 5000/- then the discount is 30%.

(iii) If the customer buys items for a total marked price of more than Rs. 5000, then the discount s 40%.

Write a program to input the value of Total Marked Price from the user and then calculate the discount,

and gross total. Then apply VAT @12.5% on the gross total. The program should display The Total

Marked Price, Discount, Gross Amount, VAT, and Net Amount Payable by the customer. The program

should continue as long as the user wants. Write and use a function to calculate the discount, gross total,

VAT, and Net Amount Payable.

Expert's answer

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

Assignment Expert21.01.14, 19:04Dear Subodh,

You're welcome. If you liked our service please press like-button beside answer field. Thank you!

subodh17.01.14, 04:46Thanks .......

## Leave a comment