Page 1 of 1

Write a Java program called AverageAge that includes an integer array called ages [] that stores the following ages; 23,

Posted: Sat May 14, 2022 3:25 pm
by answerhappygod
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.