#include<stdio.h> #include<string> #include<iostream> using namespace std; int main() { string str; while(cin>>str) { if(str=="you") { cout<<"we"; } else { cout<<str; } char str1; scanf("%c",&str1); printf("%c",str1); } return 0; } |
Double click to view unformatted code.