Run ID:124726

提交时间:2025-07-12 11:51:12

#include <iostream> using namespace std; int main(){ int s; char c; c=getchar(); s=int (c); if(s>32){ cout<<char(s-1)<<endl; }else{ cout<<"Input Error!"<<endl; } if(s<127){ cout<<char(s+1); }else{ cout<<"Input Error!"; } return 0; }