Binary digits: Difference between revisions
Content added Content deleted
(Edit the task: change 'natural number' to 'non-negative integer'. Talk page suggests that task would intend non-negative integers.) |
|||
Line 1: | Line 1: | ||
{{task}} |
{{task}} |
||
The task is to output the sequence of binary digits for a given [[wp:Natural number| |
The task is to output the sequence of binary digits for a given [[wp:Natural number|non-negative integer]]. |
||
The decimal value 5, should produce an output of 101 |
The decimal value 5, should produce an output of 101 |