помогите быстрее по информатике 9 класс найдите ошибки
var a,b,c,D,x1,x2:real;
begin
writeln('введите a,b,c');
readln(a,b,c);
if a=0 thn if b=0 then if c=0 then writeln('x любое')
else writeln('нет решений')
ele begin
x1:=c/b;
writeln('x=',x1:12:6);
end
else begin
d:=bb-4ac;
if d>0 then begin
x1:=(-b-sqrt(D))/(2a);
x2:=(-b+sqrt(D))/(2a);
writeln('x1=',x1:12:6);
writeln('x2=',x2:12:6);
end
else if D=0 then bgin
x1:=-b/(2a);
writeln('x=',x1:12:6);
end
else write ln('нет решений,);
end;
readln;
end.​
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.