Aktualizovat „a1/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-15 17:42:14 +00:00
parent 92a0a16cd8
commit 0896eb4001

View File

@ -20,9 +20,9 @@ int main()
value+=arr[i]*pow(x,count-1-i);
}
if(value>=40000){
value =((int)(value*100 - 0.5)/100.00);
}
//if(value>=40000){
// value =((int)(value*100 - 0.5)/100.00);
//}
printf("Vysledok je :%.2lf\n",value);