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;