#include #include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); string str;//문자열을 입력받을변수 int arr[26] = { 0, };//각알파벳의 갯수를 저장하기 위한 배열(알파벳은26개존재) int maxNum=0;//가장많은 알파벳을 찾기위한 변수 char result;//결과출력을 위한 변수 cin >> str;//문자열입력 for (int i = 0; i = 'a')//입력한 문자열의 첫알파벳부터 소문자인지 확인 arr[str[i] - 'a'..