Изменил(а) на 'du3/program.c'
This commit is contained in:
parent
2d800fb0d6
commit
57256ab102
@ -43,7 +43,7 @@ int main(){
|
|||||||
num+=p*n;
|
num+=p*n;
|
||||||
}
|
}
|
||||||
|
|
||||||
float num2=(round(num*10))/10;
|
float num2=(round(num*100))/100;
|
||||||
|
|
||||||
printf("Vysledok je: %.2f\n", num2);
|
printf("Vysledok je: %.2f\n", num2);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user