design a program that solves the following problem the manager of the super supermar 5206453
Design a program that solves the following problem:
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 total price of an item and its weight in pounds and ounces. Then it should determine and display the unit price (the price per ounce) of that item. You will need the following variables:
ItemName (a String) Pounds (a Float) Ounces (a Float) |
PoundPrice (a Float) TotalPrice (a Float) UnitPrice (a Float) |
You will need the following formulas:
PoundPrice = TotalPrice /(Pounds + Ounces/16)
UnitPrice = PoundPrice/16