Question: Write a program in PYTHON that prompts the user to enter the price and weight of an item in pounds and ounces. Prompt the user

Write a program in PYTHON that prompts the user to enter the price and weight of an item in pounds and ounces. Prompt the user to enter pounds and ounces as seperate numbers. If the user enters a value larger than 15 for ounces, remind them that there are 16 ounces in 1 pound, and any values greater than 15 should be entered as pounds. Then, calculate and display the price per ounce of the item in the format $0.00. HINT: There are 16 ounces in 1 pound.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!