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

This commit is contained in:
Oleksandr Hryshchenko 2021-03-18 18:53:46 +00:00
parent 7f77cda078
commit 5e90136b4b

View File

@ -37,7 +37,7 @@ int main() {
//goto LABEL;
}*/
else if (counter2 == 3){
if(date[2] < 1900 && date[2] > 2100){
if(date[2] < 1900 || date[2] > 2100){
puts("Neplatny datum.");
goto LABEL;
}