Your task is to create a program that solves quadratic equations using the quadratic formula. Given coefficients a, b, and c, your program should calculate the roots of the equation ax2 + bx + c = 0.
Enter the coefficient a: 1 [Enter]Enter the coefficient b: -3 [Enter]Enter the coefficient c: 2 [Enter]The roots of the equation are: 2 and 1.Enter the coefficient a: 1 [Enter]Enter the coefficient b: -3 [Enter]Enter the coefficient c: 2 [Enter]The roots of the equation are: 2 and 1.Enter the coefficient a: 1 [Enter]Enter the coefficient b: -3 [Enter]Enter the coefficient c: 2 [Enter]The roots of the equation are: 2 and 1.