using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace page72_3
{
class Program
{
static void Main(string[] args)
{
int[] num = { 18, 19, -1, 0, 54, 87, 12, 54, 78, 5, 61, 87, 100 };
int max = num[0];
for (int i = 0; i < num.Length; i++)
{
if (max < num[i])
{
max = num[i];
}
}
Console.WriteLine(max);
Console.ReadLine();
}
}
}
//各位讀者請自行編寫出最小值,平均值,總和