Click Here to Download this Answer Instantly


Write a Java program that will create an array called ageArray of 10 ages.
Prompt the user to input each age and store the age in the array.
Then, calculate the average age. Output all the values in the array and the average age with appropriate description.
use good indentation and style, including meaningful variable names and effective use of white space. Include in your comments at the top a brief description of how you tested this program to be sure that it works.