Изменить 'du3/program.c'
This commit is contained in:
parent
c99b507312
commit
16976674a2
@ -32,7 +32,13 @@ if(m>12){
|
|||||||
day--;
|
day--;
|
||||||
y++;
|
y++;
|
||||||
}
|
}
|
||||||
if(m>9){
|
if(m>9 && day>9){
|
||||||
|
printf("%d.%d.%d\n",day,m,y);
|
||||||
|
}
|
||||||
|
else if(m<10 && day>9){
|
||||||
|
printf("%d.0%d.%d\n",day,m,y);
|
||||||
|
}
|
||||||
|
else if(m>9 && day<10){
|
||||||
printf(" %d.%d.%d\n",day,m,y);
|
printf(" %d.%d.%d\n",day,m,y);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
Loading…
Reference in New Issue
Block a user