import java.io.*;
class twodimensional
{
public static void main(String args[])
{
float b[][]=new float [4][5];
int i,j;
float k=0;
for(i=0;i<4;i++)
for(j=0;j<5;j++)
{
b[i][j]=k;
k++;
}
for(i=0;i<4;i++)
{
for(j=0;j<5;j++)
System.out.println(b[i][j]+"");
System.out.println();
}
}
}
0 comments:
Post a Comment