Question: Hi iam trying to solve this problem but i feel stuck here is my code. Thank you! Write a program that repeatedly evaluates a n
Hi iam trying to solve this problem but i feel stuck here is my code. Thank you!
Write a program that repeatedly evaluates a nth order polynomial
px a ax ax anxn
where n
The program inputs n ai and x from the keyboard and then prints out the corresponding value of p to the screen. Note that ai should be represented using a D array.
The program continues to input new values of n ai x and evaluates p until a negative value for n is input, at which point the program stops.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
