Run ID:110516
提交时间:2025-02-22 11:14:12
#include<iostream> using namespace std; int main(){ char a; int b,h; a=cin.get(); b=a-1; h=a+1; if(b>=32&&b<=126){ cout<<b<<endl; } else{ cout<<"Input Error!"<<endl; } if(h>=32&&h<=126){ cout<<h<<endl; } else{ cout<<"Input Error!"<<endl; } }