Program Output
Script started on Wed Oct 26 11:03:24 2005
prompt >> java Quadratic
Welcome to The Quadratic Equation Solver
----------------------------------------
Please Enter coefficients for equation
a.x^2 + b.x + c
Coefficent a: 1.0
Coefficent b: 2.0
Coefficent c: -4.0
The equation you have entered is : 
1.0.x^2 + 2.0.x + -4.0
Two real roots : Root1 : -3.24
                 Root2 : 1.24
prompt >>
prompt >> java Quadratic
Welcome to The Quadratic Equation Solver
----------------------------------------
Please Enter coefficients for equation
a.x^2 + b.x + c
Coefficent a: 1.0
Coefficent b: 1.0
Coefficent c: 1.0
The equation you have entered is : 
1.0.x^2 + 1.0.x + 1.0
Two complex roots
Root1 : -0.5+0.87i
Root2 : -0.5-0.87i
prompt >>
prompt >> quit
script done on Wed Oct 26 11:03:56 2005