An array of numbers indicating the counts of each vowel in the string may be returned by using a static method called vowelCount. Your function should return an array with five elements: the count of As, the count of Es, the count of Is, the count of Os, and the count of Us. Assume there are no capital characters in the string. The array 1, 3, 3, 1, 0 should be returned by using vowelCount("i think, therefore I am").
An array of numbers indicating the counts of each vowel in the string may be returned by using a static method called vowelCount. Your function should return an array with five elements: the count of As, the count of Es, the count of Is, the count of Os, and the count of Us. Assume there are no capital characters in the string. The array 1, 3, 3, 1, 0 should be returned by using vowelCount("i think, therefore I am"). Enter your response in the space provided: 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, and 18, respectively Methodological issues are the root cause of this issue. Java code should be written according to the instructions. Write just the method(s) listed above, not the whole program or class. 2 Indent
Step by step
Solved in 3 steps with 1 images