a = input('a:');
b = input('b:');
c = input('c:');
d = b*b -4*a*c;
if d>= 0
    r1 = (-b + sqrt(d))/(2*a)
    r2 = (-b - sqrt(d))/(2*a)
else
    disp('Imaginary roots')
end