Изменить 'du3/program.c'
This commit is contained in:
parent
01ff9b3511
commit
4b97062633
@ -24,6 +24,10 @@ if(m==2){
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(m>12){
|
||||||
|
printf("Nespravny datum\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
day+=7;
|
day+=7;
|
||||||
if(m%2!=0 && day>31){
|
if(m%2!=0 && day>31){
|
||||||
day-=31;
|
day-=31;
|
||||||
|
Loading…
Reference in New Issue
Block a user