RosettaCodeData/Task/Integer-comparison/Yabasic/integer-comparison.basic

6 lines
210 B
Plaintext

input "Please enter two integers, separated by a comma: " x, y
if x < y then print x, " is less than ", y : fi
if x = y then print x, " is equal to ", y : fi
if x > y then print x, " is greater than ", y : fi