*************************************** Type 0 to stop Program Type 1 to Binary to Deci System Type 2 to Decimal to BCD System Type 3 to Binary to Hex System Type 4 to Deci to Binary System Type 5 to Hex to Binary System Type 6 to P to 2 to 10 System *************************************** Option = 1 ******* Binary to Decimal **************** Give Binary Number = 100111 Decimal Number = 39 ****************************************** Option = 2 ********* Decimal to BCD ****( HEX to BDH )************ Input = 124578 BCD Code = 0001 0010 0100 0101 0111 1000 ****************************************** Option = 2 ********* Decimal to BCD ****( HEX to BDH )************ Input = AAABB99 BCD Code = 1010 1010 1010 1011 1011 1001 1001 ****************************************** Option = 3 ******* Binary to Hex **************** Give Binary Number = 100111001101 Hexadecimal Number = 9CD ****************************************** Option = 4 ******* Decimal to Binary **************** Give Decimal Number = 2345689 m=21 Binary Number = 1000111100101011011001 ****************************************** Option = 5 ******* Hexa to Binary **************** Give Hexadecimal Number = FFAA99A m=27 Binary Number = 1111111110101010100110011010 ****************************************** Option = 6 ****************************************** Give Number System p = 13 Input Number = ABC991B na = 7 + B x 1 + 1 x 13 + 9 x 169 + 9 x 2197 + C x 28561 + B x 371293 + A x 4826809 Decimal Number = 52716363 Binary Number = 11001001000110001101001011 ****************************************** Option = 0