Design an algorithmic solution for determining whether the


PLEASE HELP WITH C++!

Design an algorithmic solution for determining whether the roots of a given quadratic are real or complex. Implement your solution in three ways.

First, implement your solution with "if" statements. Second, implement your solution with "if-else" statements. Third, implement your solution with "switch" statements.

(Hint: for switch statements, use an indicator variable.)

Once you have done this, use cout and cin to interface with a user to input three coefficients (a,b, and c) of quadratic. Then, provide to the user the results after using each of the three methods.

EXTRA CHALLENGE: Provide the user with the value of the roots (values of x).

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Design an algorithmic solution for determining whether the
Reference No:- TGS02889301

Expected delivery within 24 Hours