Изменить 'a1/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-03-19 12:09:41 +00:00
parent f72e77fe5a
commit 6177b98784

View File

@ -24,7 +24,7 @@ int main()
result=(long double)(result/100); result=(long double)(result/100);
result=round(result*1000)/1000; result=round(result*1000)/1000;
} }
printf("Vysledok je :%Lf\n",result); printf("Vysledok je :%.2Lf\n",result);
free(array); free(array);
return 0; return 0;
} }