一个程序就能代表:int main(){ int i,j,k; cout<<"Input i(oct),j(hex),k(dec)/n"; cin>>oct>>i; cin>>hex>>j>>dec>>k; cout<<"Output i(dec),j(oct),k(oct)/n"; cout<<dec<<i<<' '<<oct<<j<<' '<<k<<endl; system("pause"); }