Public Class DecToBin{public static void main (String[] args) throws java.io.IOException{int first=(int)args[0]int[24] binint i=0int count=23divide:bin[i]=(int) first/(2^count)first=first%(2^count)i++=count--=If count>-1 ThenGoto divideEndifSystem.out.println(bin[])}}
Standard input is empty
Main.java:1: class, interface, or enum expected Public Class DecToBin ^ Main.java:3: class, interface, or enum expected public static void main (String[] args) throws java.io.IOException ^ 2 errors
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!