Menu: Difference between revisions

Content added Content deleted
(Add Brat solution)
m (→‎Icon and Unicon: header simplification)
Line 493: Line 493:
END</lang>
END</lang>


== Icon and Unicon ==
=={{header|Icon}} and {{header|Unicon}}==
==={{header|Icon}}===
<lang Icon>procedure main()
<lang Icon>procedure main()


Line 508: Line 507:
write("You selected ",a," ==> ",L[a])
write("You selected ",a," ==> ",L[a])
end</lang>
end</lang>
==={{header|Unicon}}===
This Icon solution works in Unicon.


=={{header|J}}==
=={{header|J}}==