It is 2+1/2+1/4... But you do not have to do this conversion manually, your computer is perfectly able to do it.
Chat with our AI personalities
5
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?
Convert each hex digit to four binary digits. If you get less than three (for example, 7 --> 111), fill it out with zeroes to the left (in this case, 0111).