Question: Make program to that would display the letter with the most number of occurrence and the number of times it occurred in a string.
Make program to that would display the letter with the most number of occurrence and the number of times it occurred in a string. The program ends when the user types the word "quit". INPUT One line of input contains a string. OUTPUT The letter with the most number of occurrence and the number of times it occurred. SAMPLE INPUT geeksforgeeks quit SAMPLE OUTPUT e=4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
