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 “How much does the item cost?” Input itemPrice Write “What is the item weight in pounds (no fractions)?” Input totalPounds Write “What are the ounces?” Input totalOunces End Input Data Module Perform Calculations Module Set ounces = 16*pounds + ounces unitPrice = price/ounces End Perform Calculations Module Output Results Module Write “The item is:” itemName Write “The total price of the item is: $” , itemPrice Write “The unit price of the item is: $” , unitPrice, “per ounce” End Output Results Module...
View Full Document
- Spring '10
- Algorithms, Ring, Imperial units, Avoirdupois, Total order, item weight