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