From 8de28a8dca57c6a2892b660d12eec6ef36c496e7 Mon Sep 17 00:00:00 2001 From: Oleksandr Hryshchenko Date: Thu, 18 Mar 2021 18:03:40 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'du3/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du3/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/du3/program.c b/du3/program.c index a51a008..f9e4d6d 100644 --- a/du3/program.c +++ b/du3/program.c @@ -25,13 +25,13 @@ for (int j = 0; fgets(input, 11, stdin) != NULL; j++){ else { date[counter2++] = (int) strtol(numbers, &ptr, 10); if(counter2 == 1 && (date[0] < 1 || date[0] > 31)){ - goto LABEL; + //goto LABEL; } else if(counter2 == 2 && (date[1] < 1 || date[1] > 12)){ - goto LABEL; + //goto LABEL; } else if(counter2 == 2 && date[0] > 29){ - goto LABEL; + //goto LABEL; } else if (counter2 == 3){ date[0] += 7;