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

This commit is contained in:
Pavlo Tverdyi 2020-03-17 15:39:28 +00:00
parent 459f11a4ed
commit c37436b8f7

View File

@ -25,7 +25,7 @@ int main()
result=(long double)(result/100); result=(long double)(result/100);
} }
else{ else{
result=(int)(result*100-0.5); result=(int)(result*100+0.5);
result=(long double)((result)/100); result=(long double)((result)/100);
} }
} }