Question: C++ *Please do not Handwrite* Real value solutions of a quadratic equation exist if and only if (b 2 -4ac)>= 0.Write a program that will

C++ *Please do not Handwrite*

Real value solutions of a quadratic equation exist if and only if (b2-4ac)>= 0.Write a program that will determine if there are real value solutions and if there are will calculate and output the real value solutions.If no real value solutions exist, the program should output a message that says that.

Note that if (b2-4ac)=0 then there is a single real solution at X = {-b/(2a)}.

Otherwise (when b2-4ac>0), there are two real value solutions at :

(-b + sqrt(b2-4ac))/(2a) and at (-b sqrt(b2-4ac))/(2a)

The user will input the values for a, b and c. Execute this program twice using:

a=6, b=2, c=3 a= -5.3, b= 9.83, c= -2.14

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!