diff --git a/a1/program.c b/a1/program.c index 22623df..26ee846 100644 --- a/a1/program.c +++ b/a1/program.c @@ -23,7 +23,7 @@ int main() if(value>=40000){ value =((int)(value*100 - 0.5)/100.00); } - printf("Vysledok je :%Lf\n",value); + printf("Vysledok je :%.2Lf\n",value); return 0;