2 396 R
2 198 0
2 99 0
2 49 1
2 24 1
2 12 0
2 6 0
2 3 0
2 1 1
0 1
write a c++ program to convert binary number to decimal number by using while statement
All I know is that when a number is negative, you convert the decimal into binary and if it is negative you put 1111 before the binary digits.
Write algorithms and draw a corresponding flow chart to convert a decimal number to binary equivalent?
Decimal 30 = binary 11110. The decimal binary code (BCD), however, is 11 0000.
k n o w ? First convert it to ASCII code ... 107 110 111 119 (all decimal numbers) Then convert to binary : 1101011 1101110 1101111 1110111