diff --git a/a1/program.c b/a1/program.c index fb31fa0..b79491d 100644 --- a/a1/program.c +++ b/a1/program.c @@ -1,4 +1,3 @@ -key, [3/31/2022 11:20 AM] #include #include #include @@ -102,7 +101,6 @@ int main(){ s++; } } -key, [3/31/2022 11:20 AM] char *endptr = NULL; char *start = riadok1; int number[s]; @@ -165,8 +163,7 @@ key, [3/31/2022 11:20 AM] } else if (number[j] > 24){ number[j] = number[j] + 7 - 31; -key, [3/31/2022 11:20 AM] -number[j + 1]++; + number[j + 1]++; } } else if (number[j + 1] == 4 && number[j] > 0 && number[j] <= 30){