From 0896eb40013233c7cb3b16fd987145f6cfc6c3b1 Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Sun, 15 Mar 2020 17:42:14 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/a1/program.c b/a1/program.c index 69e188e..c902da3 100644 --- a/a1/program.c +++ b/a1/program.c @@ -20,9 +20,9 @@ int main() value+=arr[i]*pow(x,count-1-i); } - if(value>=40000){ - value =((int)(value*100 - 0.5)/100.00); - } + //if(value>=40000){ + // value =((int)(value*100 - 0.5)/100.00); + //} printf("Vysledok je :%.2lf\n",value);