Aktualizovat „du3/program.c“

This commit is contained in:
Artem Horbunov 2020-03-26 22:21:14 +00:00
parent 4877ba1c9d
commit e5430ce093

View File

@ -50,10 +50,7 @@ int main(){
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("0%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);
} }
} }