已知函数Fact的程序如下 Fact(4)的值为_____。 Long Int Fact(int n) { Long Int x; If (n > 1
已帮助 人
已知函数Fact的程序如下,Fact(4)的值为_____。 Long Int Fact(int n) { Long Int x; If (n > 1) { x = Fact(n-1); return n*x; } else return 1; }
A.10
B.24
C.120
D.15

回答
共1条回复-
44
