Question: Write a C program to find out the number of words, spaces, vowels, consonants, along with special characters in a sentence to break it into
- Write a C program to find out the number of words, spaces, vowels, consonants, along with special characters in a sentence
-
to break it into the following functions (these exact functions must be used):
- a function to find the number of words and return that to main()
- a function to find the number of spaces and return that to main()
- a function to find the number of vowels and return that to main()
- a function to find the number of consonants and special characters and return that to main()
- Output should be
-
Enter a sentence: My cats name is Bella.
You sentence includes:
Number of words: 5
Number of spaces: 4
Number of vowels: 6
Number of consonants and special characters: 13
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
