Question: Write a C++ program to solve quadratic equation with real coefficients. 1) Have the user input coefficients a,b and c, and display the equation to

Write a C++ program to solve quadratic equation with real coefficients.

1) Have the user input coefficients a,b and c, and display the equation to solve.

2) compute the discriminant.

3 ) Discuss and solve the quadratic equation in the set of real number:

a) For positive discriminant display the solution to the equation.

B) For negative discriminant display the sentence "No real solution to the equation"

Please do it in a way i can understand .

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!