Question: Q2. Write an interactive program that inputs the coefficient of a quadratic equation ax2 + bx + c 0, computes, and displays the roots of

Q2. Write an interactive program that inputs the coefficient of a quadratic equation ax2 + bx + c 0, computes, and displays the roots of the quadratic equation. All input, computation, and output should be done using double-precision floating-point instructions and registers ar2 + br + c-0. The two roots are defined as follows: 621ac root! (1 The roots are real if b ac, and imaginary otherwise
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
