Is Vowel Functions
Is Vowel Functions
result = false;
if (ch.equals("A")) {
result = true;
}//end if
if (ch.equals("E")) {
result = true;
}//end if
if (ch.equals("I")) {
result = true;
}//end if
if (ch.equals("O")) {
result = true;
}//end if
if (ch.equals("U")) {
result = true;
}//end if
return result;
}//end boolean method isVowel
4
// isVowel implemented with a complex Choice
6
// isVowel implemented with an Array
8
Other Problems Involving Text (String Characters)
10