Aktualizovat „du3/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-26 20:14:42 +00:00
parent 01e0feb0a0
commit 9ed76c7673

View File

@ -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;