#include<iostream>
#include<string.h>
#include<limits.h>
#include<float.h>
#include<stdio.h>
#pragma warning(disable : 4996)
using namespace std;
int main() {
const char space = ' ';
char ch;
ch = getchar();
while (ch!='\n')
{
if (ch == ' ')
{
putchar(ch);
}
else
{
putchar(ch + 1);
}
ch = getchar();
}
putchar(ch);
return 0;
}
标签:char,ch,putchar,更改,空格,include,输入,getchar From: https://www.cnblogs.com/wang-xiao-shuai/p/16799796.html