program raf105;
var a,b: integer;
begin
write('a = ');
readln(a);
write('b = ');
readln(b);
writeln;
if a>b
then begin
a:= a*a;
b:= b+10;
end
else if a<b then begin
b:= b*b;
a:= a+10;
end;
if a=b
then writeln('ЧИСЛА РАВНЫ')
else begin
writeln('a = ',a);
writeln('b = ',b);
end.
program raf105;
var a,b: integer;
begin
write('a = ');
readln(a);
write('b = ');
readln(b);
writeln;
if a>b
then begin
a:= a*a;
b:= b+10;
end
else if a<b then begin
b:= b*b;
a:= a+10;
end;
if a=b
then writeln('ЧИСЛА РАВНЫ')
else begin
writeln('a = ',a);
writeln('b = ',b);
end;
end.
PascalABC 3.4.2