using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 弟子规 { class Program { public static double recursion(int n) { return (n==1?1:n * recursion(n - 1)); } static void Main(string[] args) { Console.Write(recursion(6)); } } }(假设n为正整数)