#includevoidmain(){charx,y;intz;cout<<"输入一个大写字母:"<cin>>x;z=int(x);if(z<65||z>90){cout<<"输入错误(不是大写字母或者异常字符)!"<}else{y=x+32; cout<<"ASCII码为:"<}}