Изменил(а) на 'du3/program.c'

This commit is contained in:
Andrii Hermaniuk 2022-03-17 21:04:57 +00:00
parent 2d800fb0d6
commit 57256ab102

View File

@ -43,7 +43,7 @@ int main(){
num+=p*n;
}
float num2=(round(num*10))/10;
float num2=(round(num*100))/100;
printf("Vysledok je: %.2f\n", num2);
return EXIT_SUCCESS;