Infosys interview question

Code to solve quadratic equations.