This commit is contained in:
Andrii Hermaniuk 2022-03-18 14:22:19 +01:00
parent de63583f00
commit 59b6338082

View File

@ -45,7 +45,7 @@ int main(){
num+=p*n; num+=p*n;
} }
num=round(num*10000)/10000; 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); printf("Vysledok je: %.2Lf\n", num);
return EXIT_SUCCESS; return EXIT_SUCCESS;