Number reversal game: Difference between revisions

Content added Content deleted
m (→‎{{header|Ring}}: Remove vanity tags)
Line 1,081: Line 1,081:


=={{header|Elena}}==
=={{header|Elena}}==
ELENA 3.4:
<lang elena>import system'routines.
<lang elena>import system'routines.
import extensions.
import extensions.
program =
public program
[
[
var sorted := Array new:9; populate(:n)( n + 1 ).
var sorted := Array new:9; populate(:n)( n + 1 ).
Line 1,105: Line 1,106:
console printLine("You took ",tries," attempts to put the digits in order!"); readChar.
console printLine("You took ",tries," attempts to put the digits in order!"); readChar.
].</lang>
]</lang>


=={{header|Elixir}}==
=={{header|Elixir}}==