UVa Problem 272 – TEX Quotes solution | C language

**Before watching this make sure that you’ve tried enough**


int main(){

    char ch;
    int count = 0;

    while(scanf("%c",&ch) == 1){
        if(ch == '"'){
            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.

Leave a Comment