General Overview Program Would Program Takes Name Text File Input Goes Line File Detect Le Q43790134

The general overview of the program would be, the program takesthe name of a text file as an input and goes through each line inthe file to detect which letter occurs the most frequently in eachline. After going through all lines, the output will show whichletter occurred most frequently, in a certain amount of lines, asdescribed in the picture. I want to get this program setup in C++mainly first, then I need to apply the same concept to an objectoriented language such as Java. thank you!
The output should look like: the most frequent characters in lines are: e’ i , t’, ‘o’ and ‘r’ Mer is most frequent in: Mi is most frequent in: Nt is most frequent in: is most frequent in: r is most frequent in: 27 lines 20 lines 14 lines 9 lines 8 linee Show transcribed image text The output should look like: the most frequent characters in lines are: e’ i , t’, ‘o’ and ‘r’ Mer is most frequent in: Mi is most frequent in: Nt is most frequent in: is most frequent in: r is most frequent in: 27 lines 20 lines 14 lines 9 lines 8 linee
Expert Answer
Answer to The general overview of the program would be, the program takes the name of a text file as an input and goes through eac…
OR