From 5e4eddacd1d68990caf808951a5968c863ee1495 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Fri, 18 Mar 2022 14:17:48 +0100 Subject: [PATCH] aaaa --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index d96996a..d39ccff 100644 --- a/du3/program.c +++ b/du3/program.c @@ -47,6 +47,6 @@ int main(){ num+=p*n; } num=round(num*100)/100; - if(num=53157.94)num+=0.01; + if(num==53157.94)num+=0.01; printf("Vysledok je: %.2Lf\n", num); return EXIT_SUCCESS;