
Hello, I want to divide all 256 Ascii characters in 16 blocks(array)(numbered from 1-10) where each array is of 4x4 and contain 16 characters. I wrote a code but in block 8,9,10 there is no actual values. please help me.
for(int k=0;k<=15;k++ )
{
for(int i=0;i<=3;i++)
{ for(int j=0;j<=3;j++)
{
arr[k][i][j]=t;
t++;
}
}
}
for(int k=0;k<=15;k++ )
{
System.out.println("Array no. : " + (k +1));
System.out.println();
for(int i=0;i<=3;i++ )
{
for(int j=0;j<=3;j++)
{
t1=arr[k][i][j];
System.out.print((char)t1);
System.out.print("\t");
}
System.out.println();
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.