write a method called quadratic that solves quadratic equations and prints their roots. recall that a quadratic equation is a polynomial equation in terms of a variable x of the form ax^2 + bx + c = 0. The formula for solving a quadratic equation is:
x= -b + or - the square root of b^2 - 4ac/2a
Please use the example where a =1, b= -7, c=10
so the roots are 5 and 2.
i am unsure of how to program this can anyone figure it out??