CheckPoint Week 2

CheckPoint Week 2 - ProductName = Prompt Product Weight in...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CheckPoint Week 2 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 and its weight in pounds and ounces. It should then determine and display the unit price (the price per ounce) of the item. INPUT: Product Name
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ProductName = Prompt Product Weight in Lbs ProductWeightLbs = Prompt Product Weight in Oz. ProductWeightOz = Prompt Product Cost ProductCost = Prompt PROCESS: ProductCostPerOz = ProductCost / ( ProductWeightLbs * 16 ) + ProductWeightOz OUTPUT: The Product Cost per Ounce Print...
View Full Document

Ask a homework question - tutors are online