diff --git a/a1/program.c b/a1/program.c index e82beac..a7dd331 100644 --- a/a1/program.c +++ b/a1/program.c @@ -112,7 +112,7 @@ int main(){ riadok_pervyi[i] = '\0'; int len = strlen(riadok_pervyi); int c = 0; - for (int r = 0; j < len; r++){ + for (int r = 0; r < len; r++){ if (riadok_pervyi[r] == '.'){ c++; }