Write a program in python to find the sales price of an item with given price and discount?
price=float(input("Enter the Price : "))
dis=float(input("Enter the Discount % : "))
discount=price*dis/100
sp=price-discount
print("Cost Price is : ",price)
print("Discount is : ",discount)
print("Selling Price is : ",sp)
Output:-
Enter the Price : 5000
Enter the Discount % : 11
Cost Price is : 5000.0
Discount is : 550.0
Selling Price is : 4450.0
0 Comments