class MainClass { public static void Main() { short x; int y; double z = 0; x = 6; y = 10; z = x + y; System.Console.WriteLine("X = {0} Y = {1} Z = {2}", x, y, z); } }