Hint, read your text book. It is not that hard to do.
Write a program to convert a 2-digit BCD number into hexadecimal
WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL
The value in hexadecimal of the decimal number 999910 is F41E6.
Convert each group of 4 bits into one hexadecimal digit. 1010 is "A" in hexadecimal, so this particular number is "AA".
C65A = 143132
ABCD1 = 10101011110011010001
224 = E0
56704534
NA
01
1D.12516
hex =7