1、
#include <stdio.h> int main(void) { char ch; ch = getchar(); while(ch != ‘\n‘) { if(ch == ‘ ‘) { putchar(ch); } else { putchar(ch + 1); } ch = getchar(); } putchar(ch); return 0; }
2022-01-13 03:20:47
1、
#include <stdio.h> int main(void) { char ch; ch = getchar(); while(ch != ‘\n‘) { if(ch == ‘ ‘) { putchar(ch); } else { putchar(ch + 1); } ch = getchar(); } putchar(ch); return 0; }