Aktualizovat „du3/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-26 20:06:22 +00:00
parent 300898b676
commit 01e0feb0a0

View File

@ -6,7 +6,6 @@
int main()
{
printf("Enter date: ");
char dateStr[11];
struct tm t;
@ -19,7 +18,7 @@ int main()
strftime(dateStr, sizeof(dateStr), "%d.%m.%Y", &t);
printf("The day of the week is %s", dateStr);
printf("\n%s", dateStr);
exit(EXIT_SUCCESS);
return 0;