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

1 Expert Approved Answer
Step: 1 Unlock

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

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 Programming Questions!