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 items name? Input ItemName Write What is the items price? Input ItemPrice Write You will now enter the items 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
- Spring '10