Checkpoint Ch 2 Problem 2

# Checkpoint Ch 2 Problem 2 - End Program Input Data Module...

This preview shows pages 1–2. Sign up to view the full content.

Running head: CHECKPOINT - CHAPTER 2 PROBLEM #2 1 Checkpoint - Chapter 2 Problem #2 Lori Babler IT210 October 29, 2010 Stephen Welborn

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
CHECKPOINT - CHAPTER 2 PROBLEM #2 2 Checkpoint - Chapter 2 Problem #2 Problem: Identify price per ounce of store items. Main Module Declare ItemName As String Declare ItemWeight, ItemPrice, PricePerOunce As Real Write “Item Price Per Ounce Program” Write “This program computes the price per ounce before tax of Items Sold” Call Input Data Module Call Perform Calculations Module Call Output Results Module
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: End Program Input Data Module Write “Item Name?” Input ItemName Write “Item Price?” Input ItemPrice Write “What is the items weight in ounces?” Input ItemWeight in ounces Perform Calculations Module Declare ItemName as String Declare ItemPrice as Real Set PricePerOunce = ItemPrice/Itemweight Output Results Module Write “The Item Name Is:” ItemName Write “The Total Item Price is: “, ItemPrice Write “The Item Price Per Ounce is: “, PricePerOunce...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

Checkpoint Ch 2 Problem 2 - End Program Input Data Module...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online