diff --git a/program.c b/program.c index 169c45f..10b654f 100644 --- a/program.c +++ b/program.c @@ -1,10 +1,13 @@ #include +#include int main(){ - int day = 0; - int mounth = 0; - int year = 0; - scanf("%d.%d.%d", &day, &mounth, &year); - printf("%d/%d/%d/", day, mounth, year); + //int day = 0; + //int mounth = 0; + //int year = 0; + //scanf("%d.%d.%d", &day, &mounth, &year); + time_t time; + scanf("%e.%m.%Y", &time); + printf("%e.%m.%Y", time); return 0; }