Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <windows.h>
- #include <cstdio>
- using namespace std;
- int main()
- {
- setlocale(LC_ALL, "RUS");
- freopen("in", "r", stdin);
- freopen("out", "w", stdout);
- char s[100];
- scanf("%s", &s);
- for (int j = 0; j < 32; j++)
- {
- for (int i = 0; i < (int)strlen(s); i++)
- {
- s[i]++;
- if (s[i] == 0)
- s[i] = 'а';
- }
- cout << s << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment