Изменить 'du3/program.c'
This commit is contained in:
parent
7f77cda078
commit
5e90136b4b
@ -37,7 +37,7 @@ int main() {
|
|||||||
//goto LABEL;
|
//goto LABEL;
|
||||||
}*/
|
}*/
|
||||||
else if (counter2 == 3){
|
else if (counter2 == 3){
|
||||||
if(date[2] < 1900 && date[2] > 2100){
|
if(date[2] < 1900 || date[2] > 2100){
|
||||||
puts("Neplatny datum.");
|
puts("Neplatny datum.");
|
||||||
goto LABEL;
|
goto LABEL;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user