You could store the length of the string as an integer and then check each character of the string using a for loop that repeat "int length" number of times. When checking each character it could return false if it is not a vowel. If it makes it all the way through the for loop without returning false you would then return true.