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

This commit is contained in:
Pavlo Tverdyi 2020-03-26 23:15:04 +00:00
parent 01ff9b3511
commit 4b97062633

View File

@ -24,6 +24,10 @@ if(m==2){
return 0;
}
}
if(m>12){
printf("Nespravny datum\n");
return 0;
}
day+=7;
if(m%2!=0 && day>31){
day-=31;