using
System;using
System.Collections.Generic;using
System.Text;namespace
ConsoleApplication1{
class Program{
static void Main(string[] args){
int a, b,c; Console.Write("Enter Three Number:");a =
Convert.ToInt16(Console.ReadLine());b =
Convert.ToInt16(Console.ReadLine());c =
Convert.ToInt16(Console.ReadLine()); int max = a; if (b > max)max = b;
else if (c > max)max = c;
Console.WriteLine("Max={0}",max.ToString() ); Console.ReadLine();}
}
}