The Manager of the Supermarket would like to be able to compute the unit price of items sold there. To do this the program must input the name and the price of item and its weight in pounds and ounces. Then it must determine and display the unit price (the price per ounce of item) of that item and total cost of the amount purchased. You will require 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 require the following formulas: Unit Price = Pound Price/16 Total Price= Pound Price*(pound + ounces/16).