HERE’S A C/C++ PROGRAM that converts decimal numbers ranging from 0 to 99,999 to binary and binary coded decimal (BCD) formats. Using a simple algorithm in conjunction with pointer arithmetic and bitwise shifting increases the conversion speed without introducing excessive memory overhead and programming complexity. When decimal numbers are within the range of 0 to 9, their binary and BCD representations are identical, requiring only four bits... ...