#include <stdio.h> #include <ctype.h> int main() { char temp; int pair = 0; while((temp=getchar())!=EOF){ if(temp == '"'){ if(pair == 0){ pair++; printf("``"); }else{ pair = 0; printf("''"); } }else{ putchar(temp); } } return 0; }
Post a Comment
No comments:
Post a Comment