Hi guys,
I have an assignment of Quadratic Expression and my professor wants me to have these methods:
get() and set() for three variables
add(QuadraticExpression) : QuadraticExpression
substract(QuadraticExpression) : QuadraticExpression
getRootOne() : double
getRootTwo() : double
toString() : String
getNumRealRoots() : int
I know how to do all of them except getNumRealRoots() : int
What is this method for? I need help for the logic..
Thanks..