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

6 lines
203 B
Plaintext

input "Please enter one integer: ", x
input "and a second integer: ", y
if x < y then print x; " is less than "; y
if x = y then print x; " is equal to "; y
if x > y then print x; " is greater than "; y