Question: Write a program that prompts the user to enter a file name, read the contents, and displays the number of occurrences of each letter in

Write a program that prompts the user to enter a file name, read the contents, and displays the number of occurrences of each letter in the file.The letters are case insensitive.Your output should use the format displayed below. Do not add any additional fields or counts; otherwise, your program will lose points.Below is a sample run for Programming Exercise No 1. Your program output should look like this except for the file name and the total number of occurrences for each letter.This program will prompt you for a file name and display the number of occurrences of each letter in the filePlease enter the file name to be searched: abc.txt ente

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!