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

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,