The problem
Write a program that prompts the user to enter a decimal integer and displays its corresponding binary value. Use Java’s Integer.toBinaryString(int)
in this program.
Write a program that prompts the user to enter a decimal integer and displays its corresponding binary value. Use Java’s Integer.toBinaryString(int)
in this program.