
[ 문제 ] 영어에서는 어떤 글자가 다른 글자보다 많이 쓰인다. 예를 들어, 긴 글에서 약 12.31% 글자는 e이다.어떤 글이 주어졌을 때, 가장 많이 나온 글자를 출력하는 프로그램을 작성하시오. [ 코드 ] 1. 내 코드: 딕셔너리 사용 - 입력값을 key로 저장하고 딕셔너리 keyvalue의 maxcount와 같은 값의 key를 리스트에 담고 출력 using System; using System.Collections.Generic; using System.Linq; List lines = new List(); string line; while ((line = Console.ReadLine()) != null) { lines.Add(line); } Dictionary counts = CountC(li..