Question: 3. Write a C++ program that declares three float inputs (call them a, b, c) that represent the coefficients of the quadratic equation ax
3. Write a C++ program that declares three float inputs (call them a, b, c) that represent the coefficients of the quadratic equation ax + bx + c = 0. Read the values for a, b, and c from the user. Then use if-else if-else statements to output how many solutions the quadratic equation has and also print the solutions; if there is any.
Step by Step Solution
There are 3 Steps involved in it
Heres a C program that reads coefficients for a quadratic equation ax bx c 0 from the user calculates the discriminant to determine the number of real ... View full answer
Get step-by-step solutions from verified subject matter experts
