static void Main(string[] args)
            {
                Console.WriteLine("First Number: ");
                string num1 = Console.ReadLine();
                int x = Convert.ToInt32(num1);

                Console.WriteLine("Second Number: ");
                string num2 = Console.ReadLine();
                int y = Convert.ToInt32(num2);

                Console.WriteLine("Third Number: ");
                string num3 = Console.ReadLine();
                int z = Convert.ToInt32(num3);

                int fac = x * y * z;
                float avg = (x + y + z) / 3f;

                Console.WriteLine("입력값: x = {0}, y = {1}, z = {2}", x, y, z);
                Console.WriteLine("곱: {0}", fac);
                Console.WriteLine("평균: {0}", avg);


            }

는 C#..
수준이 낮아서 이렇게밖에 못 짜겠다