okay ill explain.this is a program that will convert binary.
import java.io.*;
public class decbin{
public static DataStreamReader rustan=new DataStreamReader(System.in)
public static void main (string[]args) throws IOException{
int Q,R,A;
System.out.println("Enter a number to be convert: ");
Q=Integer.parseInt(rustan.readLine());
while(Q!=0){
Q=A/2;
R=A%2;
A=Q;
//one missing statement i think. i need help.
}
or you have anyway???pls help