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
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.
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.