(10 marks) Write a Java program called AverageAge that includes an integer array called ages [] that stores the followin
Posted: Sat May 14, 2022 2:54 pm
(10 marks) 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. (10 marks) Write a Java program called DisplayText that includes a String array called names / containing the following elements, (Jane, John, Tim, Bob, Mickey). Display the contents of the String array in the command line window.