using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace
MATRIZ
{
class Program
{
static void Main(string[] args)
{
int[,] a;
int b, c,x,y;
string aux;
a = new int[3, 3];
Console.SetCursorPosition(18, 3);
Console.Write("A");
x =
5;
for (b = 0; b < 3; b++)
{
c = 0;
y = 12;
while
(c < 3)
{
Console.SetCursorPosition(y,
x);
aux = Console.ReadLine();
a[c, b] = int.Parse(aux);
y = y + 5;
c++;
}
x = x + 2;
}
Console.ReadKey();
}
}
}
No hay comentarios:
Publicar un comentario