Aktualizovat „a1/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-15 17:36:19 +00:00
parent 7d616ee905
commit 102dcc7bc9

View File

@ -23,7 +23,7 @@ int main()
if(value>=40000){ if(value>=40000){
value =((int)(value*100 - 0.5)/100.00); value =((int)(value*100 - 0.5)/100.00);
} }
printf("Vysledok je :%Lf\n",value); printf("Vysledok je :%.2Lf\n",value);
return 0; return 0;