Whats wrong on my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Whats wrong on my code

I have try to make a code thats will return to binary but its error https://code.sololearn.com/Wf0O20BSC1Rv/?ref=app

29th Dec 2021, 10:32 AM
Gibran Daffa
Gibran Daffa - avatar
3 Answers
+ 5
I hope this link helps you https://code.sololearn.com/WsrT7gSI00ed
29th Dec 2021, 10:55 AM
SoloProg - avatar
+ 3
Not really sure what u wanna do But change line 3 Its creating infinite loop From while (a>=0) To while (a>0) I really wanted to help but Idk my code section just go blank if i try to do something with your code i can help only this much
29th Dec 2021, 10:57 AM
Shino - avatar
Inumaki , its error, when i try on my code compiler its lagging and crashing.
29th Dec 2021, 11:24 AM
Gibran Daffa
Gibran Daffa - avatar