Question #43595

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

## Comments

## Leave a comment