using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication8 { class Program { static void Main(string[] args) { Console.WriteLine("son kiriting"); int a = Convert.ToInt32(Console.ReadLine()); int[] massive = new int[20]; Random r = new Random(); for (int i = 0; i < 20; i++) { massive[i] = r.Next(-10, 10); if (i>a) { Console.Write("massive["+i + "]=" + massive[i] + " "); } } Console.WriteLine(); Console.ReadKey(); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)