Use pseudocode. The manager of the Super Supermarket would like to be able to co
ID: 3754181 • Letter: U
Question
Use pseudocode.
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)
Explanation / Answer
Hey,
Below is the pseudocode to the question
Kindly revert for any queries
Thanks
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.