Advertisement
NecrogeniC

Untitled

Mar 19th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.59 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Strelci.v2
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             Console.WriteLine("Zadej počet hráčů");
  14.             int pocetHracu = int.Parse(Console.ReadLine());
  15.             for (int a = 0; a < pocetHracu; a++)
  16.             {
  17.                 string name = "hrac" + (a + 1);
  18.                 strelci name = new strelci();
  19.                
  20.             }
  21.             Console.ReadLine();
  22.            
  23.  
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement