1 2 3 4 5 6 7 8
int n(char *string) { int count = 0; for(int i=0; string[i]!='.'; i++) if(string[i] == 'н') count++; return count; }