From 588c33da66e41634d2d61a3550e3818c4a1c946c Mon Sep 17 00:00:00 2001 From: kk134cv Date: Wed, 6 Mar 2019 08:08:54 +0100 Subject: [PATCH] test --- program.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/program.c b/program.c index befec1c..169c45f 100644 --- a/program.c +++ b/program.c @@ -1,6 +1,10 @@ #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); return 0; }