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

10 lines
159 B
Plaintext

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);
]