computer science HW
ECE-206 HW-10A Page 1 of 1
HW-10A: C++ - Text File
Write a C++ program to count the number of consonants and vowels in a text file.
The program must be able to handle consonants and vowels of upper and lower
cases. Include a detailed comment header and comment statements.
For example:
The following two lines of sentences have 47 consonants and 29 vowels.
Maxim 1: Programming is an art!
Maxim 2: While there are many ways to Rome, you just need to find them.
Test your program with a text file that contains the two sentences in the example.
Run Output
Consonants: 47
Vowels: 29
Submit a copy of the working and well-documented program, and run output.