题解 | 牛牛学说话之-字符串
牛牛学说话之-字符串
https://www.nowcoder.com/practice/fa8bde2f612749c9813262a146488c9d
#include <stdio.h> #include <string.h> int main() { char ch = 'a';//定义字符变量 //输入一个,输出一个 while (scanf("%c", &ch) != EOF) { printf("%c", ch); } return 0; }
牛牛学说话之-字符串
https://www.nowcoder.com/practice/fa8bde2f612749c9813262a146488c9d
#include <stdio.h> #include <string.h> int main() { char ch = 'a';//定义字符变量 //输入一个,输出一个 while (scanf("%c", &ch) != EOF) { printf("%c", ch); } return 0; }
相关推荐