WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL
ABCD1 = 10101011110011010001
C65A = 143132
224 = E0
10011110 base 2 = 9E base 16
One way to accomplish this is to allow the printf statement to do the work for you. Example: printf("Decimal %d = hex %02x\n", number, number); Or you could use the windows calculator. Select the Dec radian, type your number in, then select Hex radian.
Write a program to convert a 2-digit BCD number into hexadecimal
pongada punda vayanungala ..................
This is not a question.
Write a program to convert a 2-digit BCD number into hexadecimal
Convert each group of 4 bits into one hexadecimal digit. 1010 is "A" in hexadecimal, so this particular number is "AA".
ABCD1 = 10101011110011010001
C65A = 143132
224 = E0
56704534
01
NA
1D.12516