**Before watching this make sure that you’ve tried enough**
#include<stdio.h> int main(){ char ch; int count = 0; while(scanf("%c",&ch) == 1){ if(ch == '"'){ count++; if(count%2)printf("``"); else printf("''"); } else printf("%c",ch); } return 0; }
If this solution helped you, please share this with your friends.
And if you have anything to say, let me know in the comment section.