using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fiveno
{
class Program
{
static void Main(string[] args)
{
int[] a = new int[5];
int i;
for (i = 0; i < 5; i++)
{
Console.WriteLine("Enter number");
a[i] = Convert.ToInt32(Console.ReadLine());
}
for (i = 0; i < 5; i++)
{
Console.WriteLine(a[i]);
}
Console.ReadLine();
}
}
}
No comments:
Post a Comment