Create another class named Frequency and implement its code as follows:
Write a program that asks for a common dictionary word. Assume there will be no whitespace, numbers, or symbols. Print the following interaction for this exercise. Assume that the user input is in blue.
Please enter a common word: Potato
The following letters were found with the following frequencies: P,1 0,2 T,2 A,1
You should not treat the same uppercase or lowercase letter as being two separate characters. For example, if the user entered Roar (which has both an uppercase and a lowercase 'r), the expected output would be R,2 0,1 A,1