Изменил(а) на 'du3/program.c'
This commit is contained in:
parent
922942917d
commit
13704137e5
@ -43,7 +43,7 @@ int main(){
|
|||||||
num+=p*n;
|
num+=p*n;
|
||||||
}
|
}
|
||||||
|
|
||||||
int num2=(round(num*100))/100;
|
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