Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- int i = 0;
- int j = 0;
- int[,] pole = new int[i,j];
- for (int radek = 0; radek <= 4; radek++)
- {
- for (int sloupec = 0; sloupec <= 4; sloupec++)
- {
- i = sloupec;
- j = radek;
- pole[i,j] = Console.Read();
- Console.WriteLine(pole[i,j]);
- if (sloupec == 4)
- Console.ReadLine();
- }
- }
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement