Not giving output

output is same as sample input can anyone explain the the reason it is not giving even one output

@Dev19 can you please share your code using ide.codingblocks.com

Submission #3648001 Source Code #include using namespace std; int main() { int n,m; int arr[10][10]; cin>>n>>m; for(int i =0;i<n;i++){ for(int j=0;j<m;j++){ cin>>arr[i][j]; } } for(int i =0;i<n;i++){ if(i&1){ for(int j=m-1;j>=0;j–){ cout<<arr[j][i]<<", β€œ; } } else{ for(int j=0;j<m;j++){ cout<<arr[j][i]<<”, "; } } } cout<<β€œEND”; return 0; }

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.