#include <iostream>
#include<string.h>
#include<stdio.h>
using namespace std;
int main()
{
int c;
char ch;
c=1;
while((ch=cin.get())!=EOF)
{
if(ch=='"')
{
c=c+1;
if(c%2==0)
cout<<"``";
else
cout<<"''";
}
else
cout<<ch;
}
return 0;
}
#include<string.h>
#include<stdio.h>
using namespace std;
int main()
{
int c;
char ch;
c=1;
while((ch=cin.get())!=EOF)
{
if(ch=='"')
{
c=c+1;
if(c%2==0)
cout<<"``";
else
cout<<"''";
}
else
cout<<ch;
}
return 0;
}
No comments:
Post a Comment