Question: Write a C++ program with this exactly output, thank you Description: Write a complete C++ program that prompts the user for the coefficients a, b,
Write a C++ program with this exactly output, thank you
Description: Write a complete C++ program that prompts the user for the coefficients a, b, and c of a quadratic equation ax2 + bx c = 0 and prints out the solution 1. Your program will handle cases where a and/orb-0 2. The root(s) are to be displayed in fixed format with 5 fractional digits b2- 4ac 2a Required IO F. Last's Quadratic Equation Solver Enter a b c? ? Case 1: a and b are 0, not even an equation, no x Invalid inputs. Case 2: a = 0, simple equation, no x Case 3: b2- 4ac0 Imaginary roots. Otherwise: is a blank line F. Last is your first initial and last name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
