RosettaCodeData/Task/Integer-comparison/Draco/integer-comparison.draco

10 lines
226 B
Plaintext

proc nonrec main() void:
int a, b;
write("Please enter two integers: ");
read(a, b);
if a<b then writeln(a, " < ", b)
elif a=b then writeln(a, " = ", b)
elif a>b then writeln(a, " > ", b)
fi
corp