4장 심화연습문제 1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 심화연습문제_4_1
{
class Program
{
static void Main(string[] args)
{
int i = 0;
int[] backsort = new int[8];
try
{
for (i = 0; i < 8; i++)
{
Console.Write("정수 입력후 엔터누르세요" + (i + 1) + ": ");
backsort[i] = int.Parse(Console.ReadLine());
}
for (i = 7; i < backsort.Length; i--)
{
Console.WriteLine(backsort[i]);
}
}
catch (Exception)
{
Console.WriteLine("");
}
}
}
}