#include #include using namespace std; int main() { cout << "Please type an integer in hexadecimal (upper or lowercase): "; int i {0}; cin >> hex >> i; cout << uppercase << hex << i << " in hexadecimal is " << dec << i << " in decimal.\n"; return EXIT_SUCCESS; }