#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int a;
cout<<"请输入一个十进制数:";
cin>>a;
cout<<endl<<"输出:"<<endl;
cout<<"系统默认进制:"<<a<<endl;
cout<<"十进制:"<<dec<<a<<endl;
cout<<"八进制:"<<oct<<a<<endl;
cout<<"十六进制:"<<hex<<a<<endl;
system("pause");
return 0;
}