#include "poly.h"

void main() {

  // Fill in code here.

  // Create a Poly object and initialize it based on user input.

  // Ask the user for a complex number value to evaluate the polynomial.



  // Output the result of the function for this value.

}

// Poly constructor: Creates a polynomial upto degree 4.
Poly::Poly() {
  for (int i=0;i<5;i++)
    coeff[i] = Complexno(0);
}

// Sets a polynomial's coefficients by prompting the user for them.
void Poly::set_poly() {

  for (int i=0;i<5;i++) {
    cout << "Enter the complex number coefficient for the ";
    cout << i << "th exponent of your polynomial." << endl;
    coeff[i].enternum();
  }
}

// Evaluates a polynomial with the input val.
Complexno Poly::eval_poly(Complexno val) {

  // Fill in code here

}

