Question 3 3.1 Write a Java program called AverageAge that includes an integer array called ages [ that stores the follo
Posted: Sat May 14, 2022 2:58 pm
Question 3 3.1 Write a Java program called AverageAge that includes an integer array called ages [ that stores the following ages; 23,56,67,12,45. Compute the average age in the array and display this output using a JOptionPane statement. 3.2. Write a Java program called DisplayText that includes a String array called names ll containing the following elements, (Jane, John, Tim, Bob, Mickey). Display the contents of the String array in the command line window.