I have a math C++ program that needs some help.
a program that can solve many sets of quadratic equations. The program will ask users whether they want to solve another equation. The user decides to continue by entering 1 or to terminate by entering 0 or any other number. The program will ask the user to input the a, b and c, and then will display: 1) if b2- 4ac > 0There are two different solutions to this equation. These solutions are: x1 = -b+sqrtb^2-4ac x2=-b-sqrtb^2-4ac 2) if b2- 4ac < 0 There is no real solution to this equation. However, this equation has imaginary solutions that one can find. 3) if b2 - 4ac = 0 This equation has one solution, which can be found by setting b2- 4ac to 0in the first case. Thus, we may assume that both roots are the same and equal to -b/2a. So, you may combine (1) and (3) in one. I have done coding based on an algorithm and my flowchart to code but not sure what else to do and what needs to fixed to do what the instructions are describing. https://code.sololearn.com/cA87a18A12a2/#cpp