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

This commit is contained in:
Pavlo Tverdyi 2020-03-19 12:54:20 +00:00
parent 5e61081a9c
commit 4a5e8f85bf

View File

@ -24,7 +24,7 @@ int main()
result=(long double)(result/100); result=(long double)(result/100);
// printf(" %Lf ",result); // printf(" %Lf ",result);
} }
if(result>10000 && result!=(long long )(result)){ if(result>40000 && result!=(long long )(result)){
result-=0.01; result-=0.01;
} }
printf("Vysledok je :%.2Lf\n",result); printf("Vysledok je :%.2Lf\n",result);