Write a Python program to: ask the user to enter the price of an item. Note: use a while loop to check the validity of the price and, if the user enters a price less than or equal to zero, to prompt...


Write a Python program to: ask the user to enter the price of an item. Note: use a while
loop to check the validity of the price and, if the user enters a price less than or equal to
zero, to prompt for a valid price. Prompt the user for the quantity being purchased. If the
quantity is ten or greater, apply a discount of 5 percent. (.95*price*quantity).



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here