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

This commit is contained in:
Andrii Hermaniuk 2022-03-17 21:00:34 +00:00
parent 922942917d
commit 13704137e5

View File

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