Урок 9 Задача 5

Урок 9 Задача 5

Пользователь вводит два числа, найдите из них максимальное.

var A, B: integer;
bool: boolean;
begin
  readln(A);
  readln(B);
  if (A>B) then
     writeln(A);
  if (B>A) then
     writeln(B);
  if (A=B) then
     writeln('A=B');
  readln();
end.