InterviewSolution
Saved Bookmarks
| 1. |
Write the rules to convert a decimal number into a binary number |
|
Answer» How to convert DECIMAL to binaryConversion steps:1.Divide the number by 2.2.Get the integer quotient for the next iteration.3.Get the REMAINDER for the binary digit.Repeat the steps until the quotient is equal to 0. |
|