Aktualizovat „a1/program.c“
This commit is contained in:
parent
e216524192
commit
d7933ba689
@ -23,7 +23,7 @@ int main()
|
|||||||
for(int i =0;i<count-1;i++){
|
for(int i =0;i<count-1;i++){
|
||||||
value+=arr[i]*pow(x,count-2-i);
|
value+=arr[i]*pow(x,count-2-i);
|
||||||
}
|
}
|
||||||
printf("Vysledok je :%f\n",value);
|
printf("Vysledok je :%.2f\n",value);
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user