RosettaCodeData/Task/Integer-comparison/XPL0/integer-comparison.xpl0

9 lines
162 B
Plaintext

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