{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Simple Array Process

# Simple Array Process - Running head SIMPLE ARRAY PROCESS 1...

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

Running head: SIMPLE ARRAY PROCESS 1 Simple Array Process Lori Babler IT210 November 19, 2010 Stephen Welborn

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

View Full Document
SIMPLE ARRAY PROCESS 2 Simple Array Process Process : 1. Prompt the user to enter integer numbers other than 0 (zero), one at a time, with a maximum of 100 numbers into the array Numbers. 2. Prompt the user to enter his/her name 3. Prompt the user to enter 0 (zero) when he or she wants to quit. 4. Do not store zero. 5. Sort the list of numbers using a bubble sort. 6. Print the first element as the smallest number. 7. Print the last element as the largest number. Input: List of numbers (integer: Numbers[1..100]) List names (string: Names [1 .. 100]) Output: Smallest number (integer: minNum) Largest number (integer: maxNum) Pseudocode Main Module Declare Numbers[100] as integers Declare Names[100] as strings Declare minNum as integer Declare maxNum as integer Declare listCount as integer Declare inputNum as integer Declare inputName as string Call Input Data Module Call Sort Numbers Module Call Find Minimum Module Call Find Maximum Module Call Print Results Module End Main Module
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

Simple Array Process - Running head SIMPLE ARRAY PROCESS 1...

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

View Full Document
Ask a homework question - tutors are online