All pastes #50549 Raw Edit

Untitled

public text v1 · immutable
#50549 ·published 2006-04-22 12:23 UTC
rendered paste body
int r=10;
 int s=5;
 int i,j;
 int A[10000][5];
for(i=0; i<r; i++)
{
	for (j=0; j<s; j++)
	{
	
	if(i%1==0)
	{
		cout<<"adding entry" <<(i*j)+j <<"into position " <<"A[" <<i <<"][" <<j <<"]\n";
		cout<<"entry has value of" <<entry[(i*j)+j] <<endl;
	}

	A[i][j] = entry[(i*j)+j];

	}

}