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

This commit is contained in:
Pavlo Tverdyi 2020-03-26 23:12:04 +00:00
parent 9a061c8842
commit b5e0e1b8ba

View File

@ -9,6 +9,7 @@ scanf("%s",str);
int day=0;
int m=0;
int y=0;
int z=0;
sscanf(str, "%d.%d.%d", &day, &m, &y);
if(y%400==0 ||(y%100!=0 && y%4==0)){
z++;