program Calc;
var
a, b: Double;
begin
Write ('Введите A и B: ');
ReadLn (a, b);
if a - b >= 0 then begin
a := Sqr (a);
b := Sqr (b);
end else begin
a := Abs (a);
b := Abs (b);
end;
WriteLn ('A = ', a :10 :10, ' B = ', b :10 :10);
ReadLn
end.
program Calc;
var
a, b: Double;
begin
Write ('Введите A и B: ');
ReadLn (a, b);
if a - b >= 0 then begin
a := Sqr (a);
b := Sqr (b);
end else begin
a := Abs (a);
b := Abs (b);
end;
WriteLn ('A = ', a :10 :10, ' B = ', b :10 :10);
ReadLn
end.