Question: C PROGRAMMING Write 4 functions: boolean function, isVowel, that takes a char and returns the true if a given character is a vowel and otherwise
C PROGRAMMING
Write 4 functions:
boolean function, isVowel, that takes a char and returns the true if a given character is a vowel and otherwise returns false
int function, countUC, that takes a string and returns the number of UPPERCASE letters in the string
int function, countLC, that takes a string and returns the number of lowercase letters in the string
int function, countOthers, that takes a string and returns the number of non-letters in the string
Write a program that prompts the user to input a sequence of characters (including spaces and special characters) and then uses your functions to output:
the number of characters in the string
the number of vowels in the string
the number of UPPERCASE letters in the string
the number of lowercase letters in the string
the number of other characters in the string
For Example
Enter a sentence: Test!
There are 5 total characters. There are 1 vowel. There are 1 UPPERCASE letters. There are 3 lowercase letters. There are 1 other characters.
REQUIREMENTS: You can NOT use any functions in
You must define and use the functions... do not change their names... there must be a function prototype before main the implementation must be after main.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
