Skip to content

Instantly share code, notes, and snippets.

@cthbst
Last active May 12, 2016 08:15
Show Gist options
  • Save cthbst/c7c8d84cda6caf697ae07f525b27345b to your computer and use it in GitHub Desktop.
Save cthbst/c7c8d84cda6caf697ae07f525b27345b to your computer and use it in GitHub Desktop.
#include<iostream>
#include<string>
using namespace std ;
int main(){
string s ;
while (getline(cin,s)){
for (int i=0 ;i<s.size() ;i++ ){
s[i]+= '*'-'1' ;
}
cout << s <<endl ;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment