how to creat a program to convert desimal to binairy number? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

how to creat a program to convert desimal to binairy number?

with any language that you want

20th May 2018, 7:27 PM
caida dodosy
caida dodosy - avatar
1 Answer
+ 5
C : void p(long long i){ unsigned long long b = 1; while(i >> ++b); while(--b) putchar(((i >> b) & 1) + '0'); }
21st May 2018, 6:47 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar