id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

countVowelsInArr


Given an array of strings return the number of vowels in them. (Both upper and lower case)


countVowelsInArr(["Hello World", "AaEeIiOoUu", "aeiou", "AEIOU"]) → 23
countVowelsInArr(["Aa", "Ee", "Ii", "Oo", "Uu"]) → 10
countVowelsInArr(["Fuzzy", "Wuzzy", "was", "a", "bear"]) → 6

...Save, Compile, Run (ctrl-enter)

public int countVowelsInArr(String[] arr) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 175

Copyright Nick Parlante 2017 - privacy