Discussion

Above is long and tedious way to convert decimal to binary. Other way is :

Categories: Java

faltutech

Pursuing MCA from YMCA University, Faridabad

Leave a Reply

Your email address will not be published. Required fields are marked *

Read previous post:
Check if a Number is Perfect Square or Not Using Java
Check if a Number is Perfect Square or Not Using Java

[crayon-5a2bba6f26a37961886719/] We can use Math class sqrt [crayon-5a2bba6f26a43332676927/] Discussion Give Input as command line arguments : java PerfectSquare 36

Close