In c++ create a class that can do the following according to itsmain and header file:
header file:
#include <iostream>
#include <stdlib.h>
using namespace std;
class Polynomial{
public:
Polynomial(); //Default constructor: itcreates an Polynomial of degree 99
Polynomial(int dg); //Special constructor: it creates an Polynomialof degree dg
Polynomial(const Polynomial&Original); //Copy Constructor
~Polynomial(); //Destructor: deallocatememory
void readPolynomial(); //readPolynomial Method: Reads all positions of thePolynomial
void printPolynomial(); //printPolynomial Method: Prints all positions of thePolynomial
void printPolynomial(int n); //printPolynomial Method:Prints the n first positions of the Polynomial
int getDegree(); //getSize Method: return the Polynomialdegree
void generatePolynomial(); //generatePolynomialMethod: Generates the elements for the Polynomial
PayPal Gateway not configured
PayPal Gateway not configured