Q. A shopkeeper offer 10% discount on the printed price of a digital camera. However, a customer has to pay 6% sales tax on the remaining amount. Write a program to calculate the amount to be paid by the customer, taking printed price as input
  • Enter the price of the digital camera:
  • Discount:
  • Tax:
  • Amount to be paid: