•Write a root solver using the quadratic equation.
•
•
•
•There are four cases. The cases are determined by the value of the discriminant (b2 - 4ac).
•You are going to use multiple nested “if” or “if … else” control structures to execute the appropriate code based on the value of the discriminant.