<span>var </span><span> a,b,c,D,x1,x2:real; </span><span>begin</span><span>readln(a,b,c);</span><span>D:=b*b-4*a*c;</span><span>if D<0 </span><span>then Writeln('Только комплексные корни')</span><span>else </span>
<span>begin</span>
<span>d:=sqrt(d);</span>
<span>x1:=(-b+d)/(2*a);</span><span>x2:=(-b-d)/(2*a);</span><span>WriteLn('x1=',x1);</span><span>WriteLn('x2=',x2);</span><span>end; </span><span>end.</span>