Program4ArraysMethodsSp06

Program4ArraysMethodsSp06 - CIS 120 Programming Assignment...

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

View Full Document Right Arrow Icon
CIS 120 Programming Assignment 4 - Spring 2006 Methods and Arrays You have been hired by a statistician who is studying chaos theory and ESP. The statistician is researching whether human beings can influence the contents of random collections of numbers. Potential influences include unusual tendencies toward prime numbers, specific factors, averages, medians, specific values, etc. The program requires a menu format that can be implemented using a dialog box will look like the following: Your program will first create an array of 121 integers (121 is the statistician favorite number) and will assign each element of the array a random value in the range of 1 to 1000. The features of the program include: Display array displays the indices and values of the array in a scrollable dialog box. Divisibles displays all the indices and values of the array in a scrollable dialog box that are evenly divisible by an inputted integer and at the end of the list indicate the number of elements displayed. Primes
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Program4ArraysMethodsSp06 - CIS 120 Programming Assignment...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online