input the item name, price and number of items to calculate and print the item name cost and discount where discount is 10% of cost and cost is product of price and number of items
Answers
Answered by
0
Python code:
name = input("Enter Item name: ")
price = float(input("Enter product price: "))
qty = float(input("Enter Qty"))
discount = 1/10
cost = price * qty
print("The name of the item is " + name + "and the total cost is " + cost + "Discount of 10% is " + cost * discount + )
Similar questions
Sociology,
3 months ago
Math,
3 months ago
Social Sciences,
3 months ago
Art,
6 months ago
Social Sciences,
6 months ago
Biology,
11 months ago