heyy, my code is showing no output can you tell what is the prblm withe the code
#include
using namespace std;
int main() {
int m,n,i,j;
cin>>m>>n;
int arr[10][10];
for( i=0;i<m;i++)
{
for(int j=0;j<n;j++)
{
cin>>arr[i][j];
}
}
for(j=0;j<n;i++)
{
if(j%2!=0)
{
for(i=m-1;i>=0;i--)
{
cout<<arr[i][j]<<",";
}
}
else
{
for(i=0;i<m;i++)
{
cout<<arr[i][j]<<",";
}
}
}
cout<<"END";
return 0;
}