Besides the errors, I am not intersested in the if's and else's. Nevermind that. Just implement a plain formula, to get things working quickly.
I have asked you two questions (typed in
italics). Try to answer them. Then we move on.
The formula's are:
Code:
-b-sqrt(b^2 - 4ac)
-------------------
2a
-b+sqrt(b^2 - 4ac)
-------------------
2a