My computer science class just started working with arrays this week. We need to have a keyboard input of 21 element array. We have to initialize, sort, find the average, and the median of the array all in one program (or under one class). I am having trouble figuring out how to have my variables access the numbers in the array. Can anyone help? Any examples would help the most!