with reference to the question number 5 in section input/output of CODEKTS, following code is giving the exact output but it is still showing all test cases failed? please help me , and also tell me if there are other ways to do it . thank you #include
#include
#include
using namespace std; int main() { int i,j,k,l; string x[3][1]; string y[1][3]; for(i=0;i<3;i++) { for(j=0;j<1;j++) { getline(cin,x[i][j]); y[j][i]=x[i][j]; } } for(k=0;k<1;k++) { for(l=0;l<3;l++) { cout<
<<" "; } } }