Case Study: Converting a Hexadecimal Digit to a Decimal Value in C++
This section presents a program that converts a hexadecimal digit into a decimal value. The hexadecimal number system has 16 digits: 0-9, A-F. The letters A, B, C, D, E, and F correspond to the decimal numbers 10, 11, 12, 13, 14, and 15. We now write a program that prompts the user to enter [ [ ...]