You assign uniform distributions to a, b, and c (each between 0 and 1). What is your probability that all the roots of the following equation are real? So, if you used the quadratic formula to solve the equation and you got the square root of a negative number as a root then the roots would not be real.
ax^2 + bx + c = 0