Question: using raptor Using the Prelude to Programming book, complete Programming Challenge 2 on page 177. Save your file as LASTNAME_FIRSTNAME_M03HW2 . (worth 10 points) The
using raptor Using the Prelude to Programming book, complete Programming Challenge 2 on page 177. Save your file as LASTNAME_FIRSTNAME_M03HW2. (worth 10 points)
The manager of the Super Supermarket would like to be able to compute the unit price for products sold there. To do this, the program should input the name and price of an item per pound and its weight in pounds and ounces. Then it should determine and display the unit price (the price per ounce) of that item and the total cost of the amount purchased.
You will need the following variables: ItemName Pounds Ounces PoundPrice TotalPrice UnitPrice
You will need the following formulas: UnitPrice = PoundPrice/16 TotalPrice = PoundPrice * (Pounds + Ounces/16)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
