Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int horner(int t[],int n, int x){
- if (n=0)
- return t[0];
- return x*horner(t,n-1,x)+t[n];
- }
- int main(){
- int n=3;
- int t[4]={2, 1, 1, 0};
- int x=3;
- int test=0;
- printf(" %d \n", test);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement