(Decimal to binary) Write a recursive method that converts a decimal number
into a binary number as a string. The method header is:
public static String dec2Bin(int value)
Write a test program that prompts the user to enter a decimal number and displays
its binary equivalent
use javafx not swing.

Q&A Education