Fedora Project
Create a decimal to binary converter
Binary numbers are very important in digital world since every data processed and dealt with, is in binary. Thus our computers need a decimal to binary converter to understand the numbers and be able to deploy them in a function.You can use this method to convert any decimal number to binary:
- Divide the number by 2.
- Get the integer quotient for the next iteration.
- Get the remainder for the binary digit.
- Repeat the steps until the quotient is equal to 0.
Or use this guide from instructables.
You can use any programming language but the submitted file must not be compiled.(.py for python, .cpp for C++ etc...)
Task tags
Students who completed this task
AkN1554, mehulrao, Samarth, tejasmehta6, Prasanna, Suhaas D, SDAH, Ng, JoshDaBosh, Calamity210, VimForLaNy, aditya_r, mg360, dev!caelo, lucas :), EmperorAj, pollob1563