#include
using namespace std;
int main()
{
char c[100];
for(int i=0;i<4;++i)//there should be any constraint which you shoudl give in the loop.
{
cin.getline(c,100);
if(c==“jk”)
break;
cout<<c<<endl;
}
return 0;
}
#include
using namespace std;
int main()
{
char c[100];
for(int i=0;i<4;++i)//there should be any constraint which you shoudl give in the loop.
{
cin.getline(c,100);
if(c==“jk”)
break;
cout<<c<<endl;
}
return 0;
}