Изменить 'a1/program.c'
This commit is contained in:
parent
db9781863f
commit
459f11a4ed
@ -25,7 +25,8 @@ int main()
|
||||
result=(long double)(result/100);
|
||||
}
|
||||
else{
|
||||
result=(result+0.005);
|
||||
result=(int)(result*100-0.5);
|
||||
result=(long double)((result)/100);
|
||||
}
|
||||
}
|
||||
printf("Vysledok je :%.2Lf\n",result);
|
||||
|
Loading…
Reference in New Issue
Block a user