program oken;
uses crt;
var a,b,c: integer;
begin
clrscr;
writeln('giai phuong trinh: a*x+b=c);
write('nhap so a: '); readln(a);
write('nhap so b: '); readln(b);
write('nhap so c: '); readln(c);
writeln('phuong trinh moi: ',a,'*x+',b,'=',c);
writeln('Vay phuong trinh tren co nghiem x=',(c-b)/a);
readln;
end.