RosettaCodeData/Task/Integer-comparison/MAXScript/integer-comparison.max

6 lines
214 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
a = getKBValue prompt:"Enter value of a:"
b = getKBValue prompt:"Enter value of b:"
if a < b then print "a is less then b"
else if a > b then print "a is greater then b"
else if a == b then print "a is equal to b"