punx
10-05-2005, 05:18 PM
Im looking to do some error trapping for the quadratic equation. How would put this into a while statement? Heres the psudeucode
while (sqrt is negative)
println("The answer is imaginary")
Perhaps a Java tutorial site. Thanks in advance.
while (sqrt is negative)
println("The answer is imaginary")
Perhaps a Java tutorial site. Thanks in advance.