Given real numbers a, b, c, find all solutions of the quadratic equation ax² + bx + c = 0.
Three real numbers are given, with a ≠ 0.
Output two real numbers in any order if there are two roots; one real number if there is one root. Output nothing if there are no real roots.
Input #1
1 0 0
Output #1
0
Sign in to submit your solution and save your progress.