A C++ program that allows you to solve quadratic and cubic equations interactively. This program takes user input for coefficients and calculates real and complex roots based on the degree of the equation.
- Choose the degree of the equation (2 for quadratic, 3 for cubic).
- Enter the coefficients as prompted.
- The program will calculate and display the roots of the equation.
- Handles quadratic (degree 2) and cubic (degree 3) equations.
- Supports real and complex roots.
- Detects invalid inputs.