Welcome to W3Courses
 Like Us on Facebook

Polynomial Addition

Polynomial Addition Source Code in C++

The following code adds two polynomials

#include <iostream.h>

typedef struct node
{
 int coef;       // coeffecient
 char var;   //variable
 char exp;  //exponent sign
 int power; //power
 struct node *next;
}list_node;
typedef list_node *list;

Share