#include <iostream> #include <string> using namespace std; int main() { string name,code,sum="\0"; cout<<"用户名:"; cin>>name; cout<<"注册码:"; cin>>code; sum[0]=name[0]+1; cout<<sum<<endl; }