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

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

View Full Document Right Arrow Icon
Running head: SIMPLE ARRAY PROCESS 1 Simple Array Process Lori Babler IT210 November 19, 2010 Stephen Welborn
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

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 Right Arrow Icon
Ask a homework question - tutors are online