Program solves quadratic equation also in case of the complex solution. Additionally the linear equation is solved.