so i need to find the real roots after entering an a b and c for the quadratic formula....i basically have it except when i type in lets say 3 2 1 it says -1.#ind0....i have read that this is because there is some kind of math error...i dont know if i necessary want to post my code because i know my classmates use this website...would it be valid to say
[code]
if ( a > b && a > c)
printf("there are no real roots.\n")
[\code]
this might be more of a math question but i thought i would take a shot