Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

Describe how to train managers to coach employees. page 404

Answered: 1 week ago

Question

Discuss the steps in the development planning process. page 381

Answered: 1 week ago