how to convert hexadecimal to decimal in c++ code example
Example: Convert a hexadecimal number into decimal c++
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int x;
cin >>hex >> x;
cout << x << endl;
return 0;
}