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