Изменить 'du3/program.c'
This commit is contained in:
parent
de93ac2ae3
commit
1776564e2d
@ -25,10 +25,10 @@ int main() {
|
||||
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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user