The variable that the binary sequence is held in is an int variable.
If the input is in an int variable and the binary sequence is held in an int variable, I don't understand what the code is supposed to do. There wouldn't be any logic needed, just an assignment statement:
int inV = 10;
int binarySeq = inV; // copy the value here
Did you really mean that or did you mean that "binary sequence" will be printed as digits on the console?
Please edit your post and wrap your code with code tags:
[code=java]
YOUR CODE HERE
[/code]
to get highlighting and preserve formatting.
The quotient would ==0 as shown in the following example:
To see what the value of quotient is at the end of the loop, just before the while() statement, add a println statement that prints out the value of quotient just before the while()