RosettaCodeData/Task/Integer-comparison/Ursa/integer-comparison.ursa
2016-12-05 23:44:36 +01:00

15 lines
400 B
Text

decl int first second
out "enter first integer: " console
set first (in int console)
out "enter second integer: " console
set second (in int console)
if (= first second)
out "the two integers are equal" endl console
end if
if (< first second)
out first " is less than " second endl console
end if
if (> first second)
out first " is greater than " second endl console
end if