Question: Write a C++ class called Polynomial which allows a user to create a polynomial equation and store it in a linked list and then perform
Write a C++ class called Polynomial which allows a user to create a polynomial equation and store it in a linked list and then perform polynomial operations on it. Basic polynomial operations required are:
- Addition of two polynomials.
- Multiplication of two polynomials.
- Evaluation of a polynomial equation if value of the variable is (i.e. ‘x’) is entered by the user.
Step by Step Solution
3.29 Rating (149 Votes )
There are 3 Steps involved in it
Solution CODE Nodeh class Node public int coef int exp Node next Node Nodecpp include Nodeh include using namespace std NodeNode coef 0 exp 0 next NUL... View full answer
Get step-by-step solutions from verified subject matter experts
