Binary digits: Difference between revisions
Content added Content deleted
m (→{{header|Ada}}) |
|||
Line 1,691: | Line 1,691: | ||
=={{header|Objeck}}== |
=={{header|Objeck}}== |
||
<lang objeck> |
<lang objeck>class Binary { |
||
⚫ | |||
bundle Default { |
|||
⚫ | |||
class Binary { |
|||
⚫ | |||
⚫ | |||
9000->ToBinaryString()->PrintLine(); |
|||
⚫ | |||
⚫ | |||
} |
|||
} |
} |
||
⚫ | |||
} |
|||
⚫ | |||
Output: |
|||
<pre> |
|||
101 |
|||
110010 |
|||
10001100101000 |
|||
</pre> |
|||
=={{header|OCaml}}== |
=={{header|OCaml}}== |