include<iostream.h>
using namespace std;
int main()
{
int a;
char ch;
cout<<"请输入一个0~128的整数和一个字符:";
cin>>a>>ch;
ch=ch+a;
cout<<(char)a<<endl;
return 0;
}
using namespace std;
int main()
{
int a;
char ch;
cout<<"请输入一个0~128的整数和一个字符:";
cin>>a>>ch;
ch=ch+a;
cout<<(char)a<<endl;
return 0;
}
本文标题:无
本文链接:https://www.haomeiwen.com/subject/kxdyixtx.html
网友评论