create an array that stores in integers from the keyboard and then I can scan that array to check numbers in order, if the number I check is greater than the previous then I will set the next number in the array to the higher value.
Should have a main, readArray and increaseOrder.
If you can help me with just making a readArray section of code I will give you full points.
Example code output:
Specify how many numbers should be stored in the array (at most 8):
8
Enter an integer:
1
Enter an integer:
2
Enter an integer:
3
Enter an integer:
4
Enter an integer:
5
Enter an integer:
4
Enter an integer:
4
Enter an integer:
4
The array context is:
1
2
3
4
5
5
5
5