Aktualizovat „a1/program.c“
This commit is contained in:
parent
0896eb4001
commit
73776adc26
@ -20,9 +20,9 @@ int main()
|
|||||||
value+=arr[i]*pow(x,count-1-i);
|
value+=arr[i]*pow(x,count-1-i);
|
||||||
}
|
}
|
||||||
|
|
||||||
//if(value>=40000){
|
if(value>=40000&&value<=1000000){
|
||||||
// value =((int)(value*100 - 0.5)/100.00);
|
value =((int)(value*100 - 0.5)/100.00);
|
||||||
//}
|
}
|
||||||
printf("Vysledok je :%.2lf\n",value);
|
printf("Vysledok je :%.2lf\n",value);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user