Aktualizovat „du3/program.c“
This commit is contained in:
parent
067984d7dc
commit
d7ed1c2d95
@ -44,9 +44,15 @@ int main(){
|
|||||||
year++;
|
year++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(month < 10 && day < 10){
|
||||||
|
printf("_%d.0%d.%d\n", day, month, year);
|
||||||
|
}
|
||||||
else if(month < 10){
|
else if(month < 10){
|
||||||
printf("%d.0%d.%d\n", day, month, year);
|
printf("%d.0%d.%d\n", day, month, year);
|
||||||
}
|
}
|
||||||
|
else if(day < 10){
|
||||||
|
printf("_%d.%d.%d\n", day, month, year);
|
||||||
|
}
|
||||||
else{
|
else{
|
||||||
printf("%d.%d.%d\n", day, month, year);
|
printf("%d.%d.%d\n", day, month, year);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user