Ask Questions?
View Latest Questions
Write a method which has one parameter, a string, and it returns the int number of vowels (a e i o u) in the string.
public static int countVowels(String text)
x = countVowels("Chocolate Ice Cream");
Related Tags for Programming - countVowels() method: c, header, method, using, this, ai, case, cas, define, handle, tail, ld, sh, bot, e, il, it, ls, ul, pe, in, no, as, m, head, ca, ad, details, ase, me, pp, detail, do, defined, detail, wer, s, su, i/o, is, ha, ea, and, ar, s, s, rd, th, sho, sua, fin, ga, nd, o