package testpacknm; import java.util.Scanner; public class testcnm { public static void main(String[] args) { int dNum = ; System.out.println("Binary is: " + Integer.toBinaryString(dNum)); } }