Question: Write a program that count the frequency of letters in a paragraph in java language. After that replace the most frequent letter with letter e.

Write a program that count the frequency of letters in a paragraph in java language.
After that replace the most frequent letter with letter e. And then the second most counting letter with t , and so on , exactly as the English frequency of letters does.
The output will be the same as the input structure ( spaces , numbers .. etc ) it only can replace the input frequency letters with the English frequency letters.
It is almost like to crack the substitution cipher..

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!