Question: Do not use the complex number class. The program should give all roots including imaginary ones If the coefficients constitute a linear equation you should

Do not use the complex number class. The program should give all roots including imaginary ones If the coefficients constitute a linear equation you should calculate the single root. e Input: o Three coefficients (a, b, and c respectively) on a single line separated by spaces. Output: o The equation being solved. See Sample Run below for format. Each root on a separate line. If there is more than one root, then the one obtained by subtraction is first. Roots should be reported as x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
