流类库12

#include<iostream>
using namespace std;
int main()
{
int n;
cout<<"Input n: ";
cin>>n;
cout<<"Dec: "<<dec<<n;
cout<<" "<<"Oct: "<<oct<<n;
cout<<" "<<"Hex: "<<hex<<n<<endl;
return 0;
}

posted @ 2023-05-17 20:08  不会JAVA的小袁  阅读(7)  评论(0编辑  收藏  举报