in the c programming language input is given in the form Theinput will be of the form [number of terms] [coefficient k][exponent k] … [coefficient 1] [exponent 1] eg.
5 ─3 7 824 5 ─7 3 1 2 9 0
in this there are 5 terms with -3x^7 being the highest
/* Initialize all coefficients and exponents of the polynomial to zero. */void init_polynom( int coeff[ ], int exp[ ] ){ /* ADD YOUR CODE HERE */} /* end init_polynom *//* Get inputs from user using scanf() and store them in the polynomial. */void get_polynom( int coeff[ ], int exp[ ] ){ /* ADD YOUR CODE HERE */} /* end get_polynom *//* Convert the polynomial to a string s. */void polynom_to_string( int coeff[ ], int exp[ ], char s[ ] ){ /* ADD YOUR CODE HERE */} /* end polynom_to_string *//* Evaluate the polynomial for the value of x and store the result p(x) in variable result. */void eval_polynom( int coeff[ ], int exp[ ], double x, double *result ){ /* ADD YOUR CODE HERE */} /* end eval_polynom *//* Add two polynomials and the result is stored in the first polynomial (arrays co1[] and ex1[]). */void add_polynom( int co1[ ], int ex1[ ], int co2[ ], int ex2[ ] ){ /* ADD YOUR CODE HERE */} /* end add_ polynom */