Project #86046 - CheckPoint: Unit Price Programming Problem

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

Subject Computer
Due By (Pacific Time) 10/09/2015 08:06 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy