public static void Main(string[]args)
float x = 0, y = 0, z = 0;
Console.Write("Nhap so thuc x: ");
x = Convert.ToSingle(Console.ReadLine());
Console.Write("Nhap so thuc y: ");
y = Convert.ToSingle(Console.ReadLine());
Console.Write("Nhap so thuc z: ");
z = Convert.ToSingle(Console.ReadLine());
Console.WriteLine("Max({0}, {1}, {2}) = {3}", x, y, z, max);
Console.WriteLine("Min({0}, {1}, {2}) = {3}", x, y, z, min);