🚩 Հուշում 2.1

for (int i = 0; i < text.size(); ++i) { if(isalpha(text[i])) { char upper = toupper(text[i]); charactersCount[upper - 'A']++; } }