题目描述 请你编写程序,输入n,然后使用递归求出1到n的乘积。(可以把函数命名为fact,因为阶乘的英文是factorial) 输入 一个整数n(1<=n<=10)。 输出 一个整数,表示1到n的乘积。 样例输入 5 样例输出 120