Anonymous user
Integer comparison: Difference between revisions
m
no edit summary
(Added EDSAC order code) |
mNo edit summary |
||
Line 2,942:
echo "${a} is ${comparison} ${b}"</lang>
=={{header|Ursa}}==
<lang ursa>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</lang>
=={{header|V}}==
|