Binary digits: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 1,518: | Line 1,518: | ||
=={{header|Elena}}== |
=={{header|Elena}}== |
||
ELENA |
ELENA 5.0 : |
||
<lang elena>import system'routines; |
<lang elena>import system'routines; |
||
import extensions; |
import extensions; |
||
Line 1,524: | Line 1,524: | ||
public program() |
public program() |
||
{ |
{ |
||
new int[] |
new int[]{5,50,9000}.forEach:(n) |
||
{ |
{ |
||
console.printLine(n.toString(2)) |
console.printLine(n.toString(2)) |