Posts Tagged ‘recursive’
Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel.
LANGUAGE: C++ CHALLENGE: Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel. A string contains a vowel if: The first character of the string is a vowel, or The rest of the string (beyond the first character ) contains a vowel
Read More