diff --git a/a1/program.c b/a1/program.c index 03a6a9b..aecaca0 100644 --- a/a1/program.c +++ b/a1/program.c @@ -24,7 +24,7 @@ int main() result=(long double)(result/100); // printf(" %Lf ",result); } - if(result>10000 && result!=(long long )(result)){ + if(result>40000 && result!=(long long )(result)){ result-=0.01; } printf("Vysledok je :%.2Lf\n",result);