Question: write a c++ Code to rearl coefficients ab, and C of a quadratic equation from the Keyboard. Your code should then calculate b-4ac to

write a c++ Code to rearl coefficients ab, and C of a quadratic equation from the Keyboard. Your code should

write a c++ Code to rearl coefficients ab, and C of a quadratic equation from the Keyboard. Your code should then calculate b-4ac to determine wether the roots are real or imaginary and proceed to find the roots x, and X Use the following values: a = 1, b = -4 c = 5; That is, 2 x=4x+5= x = -b/6=4ac 20 6-4ac >o => roots are real b-4ac40 => roots are imag

Step by Step Solution

3.32 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a C code that reads coefficients a b and c from the keyboard calculates the discriminant and d... View full answer

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 Accounting Questions!