#include #include "Polynomial.h" using namespace std; int main() { cout << "Enter a degree of the first polynomial: deg(f) = "; int d0; cin >> d0; Polynomial f(d0); cout << "Enter coefficients of the first polynomial f in descending order:" << endl; cin >> f; cout << "Enter a degree of the second polynomial: deg(g) = "; int d1; cin >> d1; Polynomial g(d1); cout << "Enter coefficients of the second polynomial g in descending order:" << endl; cin >> g; cout << "f = " << f << endl; cout << "g = " << g << endl; cout << "f + g = " << (f + g) << endl; cout << "f*g = " << (f*g) << endl; return 0; }