Q.3 A shopkeeper announces a package for customers that he will give 10 % discount on all bills and if a bill amount is greater than 5000 then a discount of 15 %. Write a C++ program which takes amount of the bill from user and calculates the payable amount by applying the above discount criteria and display it on the screen.

1 answer

A shopkeeper announces a package for customers that he will give 10 % discount on all bills and if a bill amount is greater than 5000 then a discount of 15 %. Write a C++ program which takes amount of the bill from user and calculates the payable amount by applying the