RosettaCodeData/Task/Integer-comparison/PL-I/integer-comparison.pli
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

9 lines
265 B
Text

declare (a, b) fixed binary;
get list (a, b);
if a = b then
put skip list ('The numbers are equal');
if a > b then
put skip list ('The first number is greater than the second');
if a < b then
put skip list ('The second number is greater than the first');