Question: Write a value-returning function, isVowel, that returns the value true if a given character is a vowel and otherwise returns false. ***Collect the user's input

Write a value-returning function, isVowel, that returns the value true if a given character is a vowel and otherwise returns false. ***Collect the user's input in the main() and pass it to the isVowel() function. ***Use Call-by-Reference (value returning function). ***Validate the user's input (allow only alphabet characters: a through z, or A through Z). ***Allow the user to repeat the program. ***Match the output below (OUTPUTS section). OUTPUTS: ************************************************************************************** Enter a character between a and z (or A and Z): a a is a vowel: 1 Do you want to repeat this program? y/n > y ********************************** Enter a character between a and z (or A and Z): E E is a vowel: 1 Do you want to repeat this program? y/n > y ********************************** Enter a character between a and z (or A and Z): B B is a vowel: 0 Do you want to repeat this program? y/n > y ********************************** Enter a character between a and z (or A and Z): @ Invalid input. Please Enter a character between a and z (or A and Z). Enter a character between a and z (or A and Z): b b is a vowel: 0 Do you want to repeat this program? y/n > y ********************************** Enter a character between a and z (or A and Z): 9 Invalid input. Please Enter a character between a and z (or A and Z). Enter a character between a and z (or A and Z): c c is a vowel: 0 Do you want to repeat this program? y/n > n **********************************

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!