Изменить 'du3/program.c'

This commit is contained in:
Oleksandr Hryshchenko 2021-03-18 18:42:06 +00:00
parent de93ac2ae3
commit 1776564e2d

View File

@ -25,10 +25,10 @@ int main() {
else { else {
date[counter2++] = (int) strtol(numbers, &ptr, 10); date[counter2++] = (int) strtol(numbers, &ptr, 10);
if(counter2 == 1 && (date[0] < 1 || date[0] > 31)){ if(counter2 == 1 && (date[0] < 1 || date[0] > 31)){
//goto LABEL; goto LABEL;
} }
else if(counter2 == 2 && (date[1] < 1 || date[1] > 12)){ else if(counter2 == 2 && (date[1] < 1 || date[1] > 12)){
//goto LABEL; goto LABEL;
} }
/*else if(counter2 == 2 && date[0] > 29){ /*else if(counter2 == 2 && date[0] > 29){
//goto LABEL; //goto LABEL;