Question: How would I take a user inputted binary number and make it 32 bits long? (In Java) currently this is what I am thinking but
How would I take a user inputted binary number and make it 32 bits long? (In Java)
currently this is what I am thinking but don't know how to implement it.
- check the length of the binary number
-subtract it by 32
-store the remaining bits in temp
- somehow put 0's to the left of the number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
