Jump to content

Binary digits: Difference between revisions

Edit the task: change 'natural number' to 'non-negative integer'. Talk page suggests that task would intend non-negative integers.
(Add bc, by translating dc.)
(Edit the task: change 'natural number' to 'non-negative integer'. Talk page suggests that task would intend non-negative integers.)
Line 1:
{{task}}
 
The task is to output the sequence of binary digits for a given [[wp:Natural number|naturalnon-negative numberinteger]].
 
The decimal value 5, should produce an output of 101
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.