# Design a program that solves the following problem: The manager of the Super Supermarket would…

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:

### Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

 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

Tags:
0 replies