Revising Quadratic Equations

I think my code is correct
plz check and revert