How to arrange the number properly?

```
/*-------------------
Two dimensional array
-------------------*/
#include<iostream.h>
#include<fstream.h>
#include<iomanip.h>
ifstream infile("STA83EXM.txt");
void main()
{
const int row = 140;
const int column = 140;
int matrix[row] [column];
//**************creates Matrix****************
int num;
for(int i = 0; i<=row-1; i++)
{
for(int j = 0; j<=column-1; j++)
{
infile>>num;
matrix[i][j]=num;
}
}
//***************Prints out Matrix*********************
{ cout << "i,j"<<"\t";
for(int i = 1; i < 140; i++)
{
cout<<i<<"\t";
}
for(int j= 1; j < 140; j++)
{
cout<<j<< "\n";
}
return;
}
}
```