This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Write “What is the item’s name?” Input ItemName Write “What is the item’s price?” Input ItemPrice Write “You will now enter the item’s weight (two steps).” Write “How many pounds does the item weigh (excluding ounces over nearest pound)?” Input ItemWeightLb Write “Now how many ounces?” Input ItemWeightOz End Input data module Perform calculations module Declare TotalOz as real Set TotalOz = ItemWeightLb * 16 + ItemWeightOz Set UnitPrice = ItemPrice / TotalOz End Perform calculations module Output results module Write “The item name is: ” ; ItemName Write “The price per ounce is : $” ; UnitPrice End Output results module...
View Full Document
This note was uploaded on 04/17/2011 for the course IT 210 taught by Professor Josephpillera during the Fall '10 term at University of Phoenix.
- Fall '10