Question: In c++ programming, please complete this program. The name of the text file should be given as an input to the program. The instructions and
Write a program to calculate the frequency of occurrence of each letter in a given text file. Your program should not distinguish between lower case and upper case letters. The text may contain characters other than alphabets. You can ignore the non-alphabetic characters. Your output should display for each letter the appropriate times it occurred in the file. A sample output is shown below Letter a, occurred 20 times Letter "b' occurred 25 times Letter 'z' occurred 10 times The name of the text file should be given as an input to the program. Please submit your pseudo code and source code to eLearning Hint: use an array and map the letter read to an index
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
