Question: Question 2: isVowel () (2 points) Write a function isVowel() that accepts a character as a parameter and returns true if the character passed into

 Question 2: isVowel () (2 points) Write a function isVowel() that

Question 2: isVowel () (2 points) Write a function isVowel() that accepts a character as a parameter and returns true if the character passed into the function is a vowel, and false otherwise. Vowels are the characters 'a', 'e', 'i', 'o', and 'u', and their uppercase variants. Function Specifications: Name: isVowel() Parameters (Please Follow the same Order): letter (char) - Character to be checked Return Value: true or false (bool) Example Function Call: isVowel ('a'); The function should be able to identify vowels regardless of their case, i.e., even if they are in lowercase or uppercase. Do not use islower() or the isupper() functions. Sample Run 1 (Text in Bold is User Input to be passed as Function Parameter) bool vowelCheck = isVowel ('I');

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!