#include void read_in_coeff(float & a,float & b,float & c,float & d,float & e); float get_val_of_name(char name); float F(float a, float b, float c, float d, float e, float x); void print_poly(float a, float b, float c, float d, float e, float x, float y); int main () { float a=1,b=2,c=3,d=4,e=5; float x=0,y=5; read_in_coeff(a,b,c,d,e) ; x = get_val_of_name('x'); y = F(a,b,c,d,e,x); print_poly(a,b,c,d,e,x,y); return(0); } void read_in_coeff(float & a,float & b,float & c,float & d,float & e) { cout << "Please enter the coefficients for the polynomial " << endl; cout << " ax^4+bx^3+cx^2+dx+e" << endl; a = get_val_of_name('a'); b = get_val_of_name('b'); c = get_val_of_name('c'); d = get_val_of_name('d'); e = get_val_of_name('e'); } float get_val_of_name( char name){ float rv; cout << "Please enter a value for " << name << endl; cout << "=> "; cin >> rv; return(rv); } float F(float a, float b, float c, float d, float e, float x){ float rv; // // this is using horner's method for evaluating a polynomial // rv = ((((a*x)+b)*x+c)*x+d)*x+e; return(rv); } void print_poly(float a, float b, float c, float d, float e, float x, float y){ cout << "F("<< x << ") ="<