using System;
class Matrix
{
public static void Main()
{
int[,] mat=new int[2,2];
int n=11;
for(int i=0;i<2;i++)
{
for(int j=0;j<2;j++)
{
mat[i,j]=n;
n++;
Console.Write(mat[i,j]+"\t");
}
Console.WriteLine("");
}
}
}
class Matrix
{
public static void Main()
{
int[,] mat=new int[2,2];
int n=11;
for(int i=0;i<2;i++)
{
for(int j=0;j<2;j++)
{
mat[i,j]=n;
n++;
Console.Write(mat[i,j]+"\t");
}
Console.WriteLine("");
}
}
}
0 comments:
Post a Comment