Question: write a function in c++ that counts the number of vowels, the number of consonants and the average number of letters in each word. the
write a function in c++ that counts the number of vowels, the number of consonants and the average number of letters in each word. the function accept a C-String (char array) or a string object as an argument and return the number of vowels, number of consonants and the average number of letters in each word.
requirements: 1. use pointers as part of the solution 2. read a string from a text file 3. write in a text file the string, the number of vowels, the number of consonants and the average number of letters in each word
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
