Engineering FORTRAN - EGR 150

Program 1: Roots of a Quadratic Equation

Write a program to compute the roots of a quadratic equation ax2+bx+c=0. Your should input the coefficients a, b, and c into the program and output the roots if they exist, including when the roots are complex. Additionally, your problem should handle the cases when a is zero and b is not zero as well as both a and b zero. As an example, if someone entered the coefficients 1,3,2, the program should output The roots are: -1 and -2.