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