Aktualizovat „du3/program.c“
This commit is contained in:
parent
e5d9ccafd4
commit
28561962b3
@ -45,13 +45,13 @@ int main(){
|
||||
}
|
||||
|
||||
if(month < 10 && day < 10){
|
||||
printf("␣%d.0%d.%d\n\n", day, month, year);
|
||||
printf(" %d.0%d.%d\n\n", day, month, year);
|
||||
}
|
||||
else if(month < 10){
|
||||
printf("%d.0%d.%d\n\n", day, month, year);
|
||||
}
|
||||
else if(day < 10){
|
||||
printf("␣%d.%d.%d\n\n", day, month, year);
|
||||
printf(" %d.%d.%d\n\n", day, month, year);
|
||||
}
|
||||
else{
|
||||
printf("%d.%d.%d\n\n", day, month, year);
|
||||
|
Loading…
Reference in New Issue
Block a user