RosettaCodeData/Task/Integer-comparison/Avail/integer-comparison.avail
2023-07-01 13:44:08 -04:00

6 lines
266 B
Text

// 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";];