Project 3: Solving Quadratics with Complex Solutions

A few examples of solving a quadratic equation with complex solutions:

Project 3: Variables 'a', 'b', and 'c' have been initialized.  These values represent the coefficients of a quadratic equation (2, -4, 9 for example the first example)

Task: Appropriately initialize the values for 'real1', imag1', 'real2' and 'imag2' which represents the solution to the quadratic equation.

**If your code works for 10 test cases in a row, you can enter your e-mail address.

Universal Computational Math Methods:

pow(5,2) returns 25.0

abs(-3.0) returns 3

sqrt(49.0) returns 7.0