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

This commit is contained in:
Pavlo Tverdyi 2020-03-19 12:44:51 +00:00
parent f231ff7677
commit c29e6249ee

View File

@ -23,6 +23,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);
// printf(" %Lf ",result); // printf(" %Lf ",result);
}
if(result>10000){
result-=0.01;
} }
printf("Vysledok je :%.2Lf\n",result); printf("Vysledok je :%.2Lf\n",result);
free(array); free(array);