RosettaCodeData/Task/Integer-comparison/Arturo/integer-comparison.arturo

7 lines
213 B
Plaintext

a: to :integer input "enter a value for a: "
b: to :integer input "enter a value for b: "
if a<b [ print [ a "is less than" b ] ]
if a>b [ print [ a "is greater than" b ] ]
if a=b [ print [ a "is equal to" b ] ]