Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
code
#include <iostream> #include <string> using namespace std; int main() { string str,key="aaaaaaaaaaaaaaaaaaaa"; cin >> str; for(int i=0; i<str.length(); i++) { str[i]+=key[i]-'a'; if(str[i]>'z') str[i]='a'+str[i]-'z'; } cout << str; }
run
|
edit
|
history
|
help
0
Hello World
Test 01 c++
NameAdTel
СПКИ АП КЭП 2
MergeSort
Test 6(2020)
add all
4C test
selection_sort
325324