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
Get step-by-step solutions from verified subject matter experts
