Var a, b: real; begin readln(a, b); if (a > b) then writeln(a, ' > ', b); if (a = b) then writeln(a, ' = ', b); if (a < b) then writeln(a, ' < ', b); end.
Program 123; uses crt; var a,b: integer; begin clrscr; writeln(' enter a,b'); readln(a,b); if (a<=b) then min:=a if (b<=a) then min:=b writeln('min=',a,'min=',b); readln;end.
begin
readln(a, b);
if (a > b) then writeln(a, ' > ', b);
if (a = b) then writeln(a, ' = ', b);
if (a < b) then writeln(a, ' < ', b);
end.
Так =)
uses crt;
var
a,b: integer;
begin
clrscr;
writeln(' enter a,b');
readln(a,b);
if (a<=b) then min:=a
if (b<=a) then min:=b
writeln('min=',a,'min=',b);
readln;end.