#IND error

How do you fix an #IND error? I'm trying to make a console program to do the quadratic formula but this appears after each calculation. Thanks.
Screen Shot? Copy Paste Error? Code Sample? We need a little more to work off of.
I think it might be a problem with dividing by 0, or taking the square root of a negative number... Just a guess.

Did you check that a != 0,
and that b*b - 4*a*c >= 0
That's an interesting thought Mathhead200 does a particular IDE or compiler do this? I've never seen this before but then again I've hardley used everyone out there.
I use cl.exe (VC++) and have never had (or tried) this before. However I ran a search on the #IND error and found some people got it when they divided by zero.

This is a problem ofter overlooked by simple programs like this anyway, and these checks should be there.
Topic archived. No new replies allowed.