|
input data from user into array
How do I ask the user to input some data, and put it into different parts of an array?
Today, I have an assignment that requires me to have the user enter a digit, then ask if they want to do it again, and then find the average of the numbers entered. I have to do this using an array of up to 15 numbers.
|