Aktualizovat „du3/program.c“

This commit is contained in:
Artem Horbunov 2020-03-26 22:46:29 +00:00
parent ebc411d1f9
commit e5d9ccafd4

View File

@ -45,15 +45,15 @@ int main(){
} }
if(month < 10 && day < 10){ if(month < 10 && day < 10){
printf("␣%d.0%d.%d\n", day, month, year); printf("␣%d.0%d.%d\n\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\n", day, month, year);
} }
else if(day < 10){ else if(day < 10){
printf("␣%d.%d.%d\n", day, month, year); printf("␣%d.%d.%d\n\n", day, month, year);
} }
else{ else{
printf("%d.%d.%d\n", day, month, year); printf("%d.%d.%d\n\n", day, month, year);
} }
} }