Quadratic Formula Program

Write a program that will evaluate the quadratic formula, based on three values obtained from the user. Recall that any quadratic may be written in the following form:

where a., b, and c are constants. The zeros of this equation are found by

However, the quantity under the radical determines the number of solutions. If it is negative there are no solutions, if zero there is one solution and if positive there are two.