Изменить 'du3/program.c'
This commit is contained in:
parent
f8ea8afe4f
commit
47dbaeb0a3
@ -15,10 +15,10 @@ if(m==2){
|
||||
printf("Nespravny datum");
|
||||
return 0;
|
||||
}
|
||||
else if((y%400!=0 ||(y%100==0 && y%4!=0))&&day>28){
|
||||
printf("Nespravny datum");
|
||||
return 0;
|
||||
}
|
||||
// else if((y%400!=0 ||(y%100==0 && y%4!=0))&&day>28){
|
||||
// printf("Nespravny datum");
|
||||
// return 0;
|
||||
// }
|
||||
}
|
||||
day+=7;
|
||||
if(m%2!=0 && day>31){
|
||||
|
Loading…
Reference in New Issue
Block a user