RosettaCodeData/Task/Integer-comparison/Avail/integer-comparison.avail

7 lines
266 B
Plaintext

// This code doesn't try to protect against any malformed input.
a ::= next line from standard input→integer;
b ::= next line from standard input→integer;
If a > b then [Print: "a > b";]
else if a < b then [Print: "a < b";]
else if a = b then [Print: "a = b";];