The Manager of a Supermarket would like to be able to compute the unit price of items sold there. To do this the program should input the name and the price of the item and its weight in pounds and ounces. Then it should determine and display the unit price(the price per ounce of the item)of that item and total cost of the amount purchased. You will need the following variables: Item name (a string) Pounds(a float) Ounces(a float) Pound Price(a float) Unit Price (a float) Total(price a float)
You will need the following formulas: Unit Price = Pound Price/16 Total Price= Pound Price*(pound + ounces/16)
Using RAptor