题目内容
#include using namespace std;int main( ){char a[]="Hello,world";char *ptr=a;while(*ptr){if(*ptr>= 'a'&&* ptr<='z')cout << char( * ptr +'A'-'a');else cout << * ptr;ptr++;}return 0;}
查看答案
搜索结果不匹配?点我反馈
更多问题