Question: Write a method called averageVowels that takes an ArrayList of strings as a parameter and returns the average number of vowel characters (a, e, i,
Write a method called averageVowels that takes an ArrayList of strings as a parameter and returns the average number of vowel characters (a, e, i, o, u) in all Strings in the list. If your method is passed an empty ArrayList, it should return 0.0.
Step by Step Solution
3.55 Rating (162 Votes )
There are 3 Steps involved in it
public static double averag... View full answer
Get step-by-step solutions from verified subject matter experts
