Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<string.h>
- using namespace std;
- int main()
- {
- char c;
- bool ok=1;
- while(cin>>c){
- if(c=='"')
- {
- if(ok)cout<<"``";else
- cout<<"''";
- ok=(!ok);}
- else cout<<c;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement