Page 1 of 1

(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
by answerhappygod
10 Marks Write A Java Program Called Averageage That Includes An Integer Array Called Ages That Stores The Followin 1
10 Marks Write A Java Program Called Averageage That Includes An Integer Array Called Ages That Stores The Followin 1 (55.68 KiB) Viewed 41 times
(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.