Array
In a 5 by 5 array,
Fill in this array with random integer numbers : a. Between 11 to 30. b. In the random order. c. No two same numbers next each other. d. If the last number has the same number next to it, start over.
How many counts for each number in this array? For example:
The count of number 11 is 2. The count of number 12 is 1. The count of number 15 is 2. The count of number 16 is 2. The count of number 17 is 1. The count of number 18 is 2. The count of number 19 is 2. The count of number 20 is 1. The count of number 21 is 1. The count of number 22 is 1. The count of number 23 is 2. The count of number 25 is 2. The count of number 26 is 2. The count of number 27 is 1. The count of number 28 is 2. The count of number 29 is 1.
What is biggest number in this array?
What is the average number in one digit decimal precision?
That is to add 25 numbers, then divide by 25.
5. Run a test to run above 10 times.
Last updated
Was this helpful?