Question: Write code in C++ follow the Class Polynomial provided and write the main to print out the result as the sample below We take input

Write code in C++
follow the Class Polynomial provided
and write the main to print out the result as the sample below
We take input A,B txt file.
Write code in C++ follow the Class Polynomial provided and write the
main to print out the result as the sample below We take
input A,B txt file. Implement a polynomial class with a member data
of a dynamic array. A.txt A=4x7+5x6+3x3+2x1+8x0 B.txt B=6x8+3x6+4x5+8x3+3x2+2x0 Dynamic arrays 68 36

Implement a polynomial class with a member data of a dynamic array. A.txt A=4x7+5x6+3x3+2x1+8x0 B.txt B=6x8+3x6+4x5+8x3+3x2+2x0 Dynamic arrays 68 36 Object 8 \#define MAX COUNT 100 class polynomial. \{ public: Polynomial(); if defautt constructor Polynonial(int* coef, int degree); Polynomial(const Polynomiat \& poiy): If copy constructor -polynomialO; /1 destructor If setters and getters void setDegree(int degree); yoid setcoef(int* coef, int degree): int getDegree(); int: getcoef( ) Polynomiali operator ( const potynomatat Fightside )i^/ operator = frlend polynomiat operator-(const polynomala, const polynomialef); fl ard orine menber function if needes private: Int* coef: If dynasic array of coefficdents int degree: ff degree of a potynonial. degree7B=6x8+3x6+4x5+8x3+3x1+2x0 output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!