RosettaCodeData/Task/Integer-comparison/PL-I/integer-comparison.pli

10 lines
265 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
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');