In this assignment, you will create a program that counts the frequencies of som

In this assignment, you will create a program that counts the frequencies of some characters and
prints the result to an output file. For the current usage trends in English, the characters E, T, A,
O, I, N, S, H and R are the most common ones. Your program will count the occurrences of each
of these characters in the input file, and output the number of occurrences of each character, and
also the total number of characters. The program should handle multiple files in a single execution.
The program first prompts for the number of files to be processed and the name of the file where
the results should be written; for each file it prompts for the name of the file, and prints the results
to the specified output file.

WRITE MY ESSAY

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *