From 102dcc7bc905ba5c9328093054152ab95594b82e Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Sun, 15 Mar 2020 17:36:19 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Ea1/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a1/program.c b/a1/program.c index 22623df..26ee846 100644 --- a/a1/program.c +++ b/a1/program.c @@ -23,7 +23,7 @@ int main() if(value>=40000){ value =((int)(value*100 - 0.5)/100.00); } - printf("Vysledok je :%Lf\n",value); + printf("Vysledok je :%.2Lf\n",value); return 0;