Polynomial
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;
(3 votes)
