#include <iostream>
using namespace std;
int main()
{
int a;
char ch;
cout << "请输入一个常数" << endl; //仅仅输出
cin >> a; //输入
cout << "请输入一个字母" << endl;
cin >> ch;
cout << "常数为" << a << endl;
cout << "字母为" << ch << endl;
return 0;
}
07-23
2945
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-08
06-30
02-23
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交