Hard
Most Common Letter in a File
Write the input lines (until END) to a file. Read it back and print the most common letter (ignoring case and non-letters) with its count; ties go to the alphabetically first letter.
Input
Lines, then END.
Output
letter count
Sample 1
Input
Hello World END
Output
l 3
Sample 2
Input
aaa bbb END
Output
a 3
Output appears here