diff --git a/a1/program.c b/a1/program.c index 6d920bb..961695c 100644 --- a/a1/program.c +++ b/a1/program.c @@ -24,7 +24,7 @@ int main() result=(long double)(result/100); result=round(result*1000)/1000; } - printf("Vysledok je :%.2Lf\n",result); + printf("Vysledok je :%Lf\n",result); free(array); return 0; }