Изменить 'a1/program.c'
This commit is contained in:
parent
c29e6249ee
commit
673a01d93c
@ -24,7 +24,7 @@ int main()
|
||||
result=(long double)(result/100);
|
||||
// printf(" %Lf ",result);
|
||||
}
|
||||
if(result>10000){
|
||||
if(result>10000 && result!=(int)(result)){
|
||||
result-=0.01;
|
||||
}
|
||||
printf("Vysledok je :%.2Lf\n",result);
|
||||
|
Loading…
Reference in New Issue
Block a user