Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- using namespace std;
- void qwe (string a)
- {
- string s="qwertyuiopasdfghjklzxcbnmq";
- for (int i=0;i<28; i++)
- {
- if (a[0]==s[i])
- {
- cout<<s[i+1];
- break;
- }
- }
- }
- int main ()
- {
- string a;
- cin>>a;
- qwe(a);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement