Modify the previous process to store the scores in an array. You will need to use either parallel arrays or a two-dimensional array in order to store the score, slope and rating for each entry.

In the loop you created in the previous assignment to read the 10 scores, add logic to store the scores in an array. You will need to add validation logic in the loop to ensure that the user only enters acceptable numbers.
A score of less than 60 should generate a display of “This score is too low, please enter the correct score.” You shouldn’t count this as an entry or add this score to the array.
A score that is greater than 144 should generate a display of “The max score is a double par. I’ll give you a 144 for this round.” This should add a score of 144 to the array and count as an entry.
The course Slope must be between 55 and 155. Any entry outside this range needs to generate a display of “This is not an acceptable Slope. Please try again.” You shouldn’t count this as an entry or add this score to the array.
The courser Rating must be between 60 and 80. Any entry outside this range needs to generate a display of “This is not an acceptable Rating. Please try again.” You shouldn’t count this as an entry or add this score to the array.

After you have read all 10 scores, stored them in an array(s), create a loop to calculate all 10 handicaps and add all the handicaps to the handicap total and exit the loop.

Once you have calculated a total handicap, you can execute the existing logic to calculate the average handicap.