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

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!