using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication3 { class Program { static void Main(string[] args) { Console.WriteLine("Enter the range and numbers:"); int n=Int32.Parse(Console.ReadLine); int a[n]=Int32.Parse(Console.ReadLine); do{ n=0; Console.Write(_a[n]); n++; }while(a[n]!=42); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)