I've been trying, for over a week now, to create a program read Integers from Serial Monitor Input.
The rule is
Define a new int array of 500 integers to store the input data.
Copy and paste a SINGLE column of integer data (assuming those are positive numbers with at most 3 digits) These integers are separated by spaces (ASCII code 32(10)).
Convert and store the input integers to the array.
Display the size of the input data.
Display the data nicely in the Serial Monitor.
Stop capturing the data if the array is full.
Find out and display the maximum value and its position of first occurrence within the input.
The program should be able to accept new input.