Answer:
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 v…
Explanation:
A:
bool containsVowel (string s) { bool hasVowel=false; if (s.length()==0) return false; else if (s[0]=='a'|| s[0]=='e'|| s[0]=='u'|| s[0]=='o'|| s[0]=='i'|| s[0]=='A'|| s[0]=='E'|| s[0]=='U'|| s[0]=='O'|| s[0]=='
Sometimes it is hard for some people to say thank you and to rate 5 star when correct so i will you deserve it thanks for adding a correct answer! have a great day!!
The answer would be false
enable programmers to break down or demolish a problem into smaller chunks