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

This commit is contained in:
Pavlo Tverdyi 2020-03-17 15:33:11 +00:00
parent 34ef4e2992
commit db9781863f

View File

@ -24,6 +24,9 @@ int main()
result=(int)(result*100-0.5); result=(int)(result*100-0.5);
result=(long double)(result/100); result=(long double)(result/100);
} }
else{
result=(result+0.005);
}
} }
printf("Vysledok je :%.2Lf\n",result); printf("Vysledok je :%.2Lf\n",result);
free(array); free(array);