Array: Difference between revisions

Content added Content deleted
No edit summary
m (→‎C: some cmt fix)
Line 24: Line 24:
while (!feof(any_text))
while (!feof(any_text))
if (is_a_letter(ch))
if (is_a_letter(ch))
/* if a letter increase character slot in the freq table: */
/* if the char is a letter, then increase character slot in the freq table: */
frequency[ch-'A'] += 1;
frequency[ch-'A'] += 1;