decimal to binary pseudo
number = positive integer ;
bitstring = ""
while (number > 0 )
{
bit = number mod 2 ;
quotient = number div 2 ;
put bit to the left of any previous bits in the bitstring ;
number = quotient ;
}
decimal to binary pseudo
number = positive integer ;
bitstring = ""
while (number > 0 )
{
bit = number mod 2 ;
quotient = number div 2 ;
put bit to the left of any previous bits in the bitstring ;
number = quotient ;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us