I need help with writing up the Java Code.

I need help writing a java code?

  • The question says to write a program that converts as input integer to the equivalent number in binary form and displays the binary number as output. An algorithm for this conversion follows: set binary string to "" while decimal number >0 set digit to decimal number %2 append binary string to digit set decimal number to decimal number /2 If binary string equals"" set binary string to "0"

  • Answer:

    Stop asking people to do your homework.

mari at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.