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

9 lines
159 B
Text

code IntIn=10, Text=12;
int A, B;
[A:= IntIn(0);
B:= IntIn(0);
if A<B then Text(0, "A<B");
if A=B then Text(0, "A=B");
if A>B then Text(0, "A>B");
CrLf(0);
]