Aktualizovat „du3/program.c“
This commit is contained in:
parent
01e0feb0a0
commit
9ed76c7673
@ -16,9 +16,8 @@ int main()
|
||||
|
||||
t.tm_mday += 7;
|
||||
|
||||
strftime(dateStr, sizeof(dateStr), "%d.%m.%Y", &t);
|
||||
printf("%d.%d.%d", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900);
|
||||
|
||||
printf("\n%s", dateStr);
|
||||
exit(EXIT_SUCCESS);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user