Write a program In C
Computer Programming II Quadratic Equation Assignment
The purposes of this assignment include: passing of parameters, and command line parameters. You are to write a program to solve quadratic equations in all their possibilities (real or complex roots, or even degenerate equations). Your program should be invoked by the command:
solvequad a b c
where a, b, and c are coefficients. The solution should print on stdout. If the solution is complex, the output should consist of a pair of expressions such as “2 + 3i” and “2 – 3i”. Other cases will result in either two real numbers being printed, a single real number, or perhaps just a message. You must use separate compilation.