Tuesday, November 15, 2011

Java-How to check if a word.charAt(index) is a vowel...boolean?

How do you not get it? You have the right idea. Have a separate counter in the loop keep track of vowel count based on either a set of if/else statements or a switch:case.

No comments:

Post a Comment