RosettaCodeData/Task/Integer-comparison/Delphi/integer-comparison.delphi

12 lines
232 B
Plaintext

program IntegerCompare;
{$APPTYPE CONSOLE}
var
a, b: Integer;
begin
if (a < b) then Writeln(a, ' is less than ', b);
if (a = b) then Writeln(a, ' is equal to ', b);
if (a > b) then Writeln(a, ' is greater than ', b);
end.