int a = 0;cout<<"请输入 a 的值:"<<endl;cin>>a;cout<<a<<endl;
来源: http://www.bubuko.com/infodetail-3344298.html