Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace zadanie_tabela
- {
- class Program
- {
- static void Main(string[] args)
- {
- int[,] tab = new int[2, 2];
- tab[0, 0] = 12;
- tab[0, 1] = 1;
- tab[1, 0] = -293;
- tab[1, 1] = 128;
- Console.ReadKey();
- int[,] tab2 = new int[2, 2]
- {
- { 12, 1},
- {-293, 128 },
- };
- for (int i = 0; i < 2; i++)
- for (int j = 0; j < 2; j++)
- {
- Console.WriteLine(tab[i,j]);
- }
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement