Integer comparison: Difference between revisions

Content added Content deleted
Line 617: Line 617:


=={{header|Arturo}}==
=={{header|Arturo}}==
<lang rebol>a: to :integer input "enter a value for a: "
<syntaxhightlight lang=rebol>a: to :integer input "enter a value for a: "
b: to :integer input "enter a value for b: "
b: to :integer input "enter a value for b: "


if a<b [ print [ a "is less than" 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 greater than" b ] ]
if a=b [ print [ a "is equal to" b ] ]</lang>
if a=b [ print [ a "is equal to" b ] ]</syntaxhighlight>


=={{header|Astro}}==
=={{header|Astro}}==