Question: I need help making a C++ program that evaluates polynomials from an input file. If you could implement a linked list that would be very

I need help making a C++ program that evaluates polynomials from an input file. If you could implement a linked list that would be very helpful as well. The number in the parentheses is the number that should be substituted for "x" while solving. Input file should be named "poly.txt" and output file should be named "answers.txt". Thank you so much in advance.

I need help making a C++ program that evaluates polynomials from an

Sample Input File f (3.2)5.9x11 x*3 -3x10 f (2.75) 1.57x-47-2x^30 + x = Sample Output File f(5) = 7x^2-9 = 166 f (3.2)5.9x11 x*3 - 3x101787961.820 f (1.75) = 1.57x-47-2x^30 + x 415572768585.904 Sample Input File f (3.2)5.9x11 x*3 -3x10 f (2.75) 1.57x-47-2x^30 + x = Sample Output File f(5) = 7x^2-9 = 166 f (3.2)5.9x11 x*3 - 3x101787961.820 f (1.75) = 1.57x-47-2x^30 + x 415572768585.904

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!