Answers for "program in c++ to convert hexadecimal to decimal number using function"

C++
1

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;
}
Posted by: Guest on March-27-2021

Code answers related to "program in c++ to convert hexadecimal to decimal number using function"

Browse Popular Code Answers by Language