Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Plssssss..... help..quadratic equation
n00b here....pls sombody solve this.....
need to create a function that calculate a quardratic equation of the following form
F(x)=A*X[italic]2[/italic](squared of x) +B*x+c
the input to the function will be the parameters A,B and C. the out put will be the solution for x that is either two real roots or 1 double root or 2 imaginary roots.
create a graphical user interface that will be used to input the coefficients A,B and C and will display the roots and a comment of the type of roots.
i.e: "the solution to the equation are the two real roots
x1=.... and x2=......"
"the solution to the equation is one double root"