Description
This problem requires writing a program to call the following function.
double root( double a, double b, double c);
// Precondition: a != 0 and a, b, c are coefficients of
// a quadratic equation a*x*x + b*x + c = 0
// Postcondition: return value, x, satisfies the
// equation a*x*x + b*x + c = 0
Input
Given three double types of data a, b, c and an integers i, which is either +1 or -1 to choose which root.