using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication20
{
class Program
{
static void Main(string[] args)
{
int a,i;
Console.WriteLine("enter the number of players");
a=Convert.ToInt32(Console.ReadLine());
string[] arr= new string [a];
for(i=0;i<a;i++)
{
arr[i]=Console.ReadLine();
}
for (i = 0; i < a; i++)
{
Console.WriteLine("name of player:" + arr[i]);
}
Console.ReadLine();
}
}
}
Here you will get dense concepts of Programming...NIIT Lab At Home ; NIIT Pmr ,NIIT cycle test, Window app. Contact:rkohitkumar16@yahoo.com.
Monday, 29 April 2013
lab @ home 9 ..... jhon wants to enter player name (range int 1 to 4)
Labels:
C# LAB at HoM 9
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment