Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float evaluare(unsigned int n, float coef[], unsigned int x)
- {
- if(n == 1)
- return coef[1];
- return coef[n] + x * evaluare(n-1, coef, x);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement