Posts

Showing posts from September, 2022

Sale Price Calculator

  # This program will help display selling price after discount for Distibutors / Retailers mrp = input ( "Enter MRP: " ) mrp = int ( mrp ) gst = input ( "Enter GST: " ) gst = int ( gst ) discount = input ( "Enter Discount: " ) discount = int ( discount ) sale_price = ( mrp * 100 )/( 100 + gst ) final_sp = sale_price - ( sale_price *( discount / 100 )) print ( "The Selling price is:" , final_sp )