41 code project????(java) | Sololearn: Learn to code for FREE!
- 1

41 code project????(java)

41 code project????(java) help me

5th Jan 2022, 4:15 PM
Jamshidbek Tolibov
Jamshidbek Tolibov - avatar
2 Answers
+ 2
Little tip, all you need to convert a decimal integer to binary format is this simple code. String binary=""; while(num > 0) { binary = (num%2)+binary; num /= 2; } Now create a class that runs that code for a specified integer. Happy Coding 💗
5th Jan 2022, 4:25 PM
TheAdeyemiOlayinka 💗
TheAdeyemiOlayinka 💗 - avatar
0
Hey
5th Jan 2022, 4:20 PM
TheAdeyemiOlayinka 💗
TheAdeyemiOlayinka 💗 - avatar