namespace Driod
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter Rows...");
int rows = int.Parse(Console.ReadLine());
Console.WriteLine("Enter Rows...");
int columns = int.Parse(Console.ReadLine());
int[,] arr = new int[rows, columns];
Console.WriteLine("Enter the value in Integers");
for (int i = 0; i < arr.GetLength(0); i++)
{
for (int c = 0; c < arr.GetLength(1); c++)
{
Console.WriteLine("Enter value for number " + i + " and " + c);
arr[i, c] = int.Parse(Console.ReadLine());
}
}
Console.WriteLine("the output value is");
for (int i = 0; i < arr.GetLength(0); i++)
{
for (int c = 0; c < arr.GetLength(1); c++)
{
Console.Write(arr[i, c]+"\t\t");
}
Console.Write("\n");
}
Console.ReadLine();
}
}
}