5. Programming exercise 1. Write a value returning function, isVowel that return
ID: 3645898 • Letter: 5
Question
5. Programming exercise
1. Write a value returning function, isVowel that returns the value true if a given character is a vowel and otherwise returns false. [Hint: The return type is a bool and you pass a char as parameter. Use a switch structure and test for both uppercase and lowercase a, e, i, o, u.]
2. Write a program that prompts the user for a character. Use the get method to read the character. Create a loop so that the user can enter as many characters and check to see if the entered character is a vowel. The loop stops if the user enters