I'm done with this assignment, but I was wondering if there was a simpler way to achieve the same thing these code segments do?
public boolean noSolution ()
{
if (disc < 0)
return true;
}
public boolean equalRoots ()
{
if (disc = 0)
return true;
}