Question: Write a complete C language program that finds the roots of a quadratic equation of the form ar +brc 0. Your program should prompt the

 Write a complete C language program that finds the roots of

Write a complete C language program that finds the roots of a quadratic equation of the form ar +brc 0. Your program should prompt the user to enter the coefficients of the quadratic equation a, b and c (all of type double). Your program should evaluate the roots and display them oin the console preceded by a message that indicates their type (complex conjugates, real distinct roots, or repeated real roots). Test your program by solving each of the following equations: r2 + 5x + 6-0, 12-4' + 4-0, and 2.1,2 + 3.2: + 7-0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!