Aktualizovat „du3/program.c“
This commit is contained in:
parent
aef580b927
commit
b49750a900
@ -17,9 +17,9 @@ int main()
|
|||||||
t.tm_mday += 7;
|
t.tm_mday += 7;
|
||||||
|
|
||||||
if(t.tm_mon + 1 < 10){
|
if(t.tm_mon + 1 < 10){
|
||||||
printf(" %d.0%d.%d\n", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900);
|
printf(" %d.0%d.%d\n\n", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900);
|
||||||
} else{
|
} else{
|
||||||
printf(" %d.%d.%d\n", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900);
|
printf(" %d.%d.%d\n\n", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user