0

How do I make this decimal to binary work?

I have adapted a decimal to binary code to make the first digit always 0. I have been unable to make it work. Please help https://code.sololearn.com/cZ8KGOX12S0z/?ref=app

12th May 2018, 11:38 AM
Thomas
Thomas - avatar
2 Answers
+ 13
put ':' at the end of line 9
12th May 2018, 12:31 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 2
How did I forget that 😂
12th May 2018, 12:32 PM
Thomas
Thomas - avatar