/* In this code, we introduce the use of header files to enable easy code reading. */ #include #include #include "hwk_poly.h" Poly::Poly(int _n) //constructor { n =_n ; } void Poly::Print() { cout << "This is a polynomial which is of degree = " << n << endl ; } double Poly::zero_derivative() { double return_value=0. ; cout << "we evaluate at the value " << endl; return return_value ; } double Poly::first_derivative() { double return_value=0 ; cout << "we evaluate the derivative at the value" << endl; return return_value ; } // usage of the class int main() { int degree = 0; //initializer for the integer cout << "Enter the degree n of the polynomial please enter n atleast 3: "; cin >> degree ; cout << "You entered: "<< degree << endl; Poly p(degree); //int x=degree ; p.Print(); cout << p.zero_derivative()<< endl; cout << p.first_derivative() <