Q. A shopkeepers offers 30% discount on purchasing articles whereas the other shopkeepers offers two successive discount 20% and 10% for purchasing the same articles. Write a program to compute and display which is better offer for a customer. Take the price of an article as an input
  • Enter the price of the article:
  • Discount of 30%:
  • Successive discounts of 20% and 10%: