文件名称:factorial
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 11kb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一般来说,任何大于0的正整数n的阶乘等于n与(n-1)的阶乘的积,即n!=n(n-1)!。用(n-1)!的值来表示n!的值其表达式就是一种递归调用,因为一个阶乘的值是以另一个阶乘的值为基础的。
此程序是采用递归调用求正数n的阶乘的程序
-In general, any positive integer greater than 0, the factorial n equal to n and (n-1) of the factorial of the plot, that is, n! = N (n-1)!. With (n-1)! Express the value of n! The value of its expression is a recursive call, because the value of a factorial is a factorial of the value-based. This procedure is used for recursive calls the factorial n is the number of procedures
此程序是采用递归调用求正数n的阶乘的程序
-In general, any positive integer greater than 0, the factorial n equal to n and (n-1) of the factorial of the plot, that is, n! = N (n-1)!. With (n-1)! Express the value of n! The value of its expression is a recursive call, because the value of a factorial is a factorial of the value-based. This procedure is used for recursive calls the factorial n is the number of procedures
(系统自动生成,下载前可以参看下载内容)
下载文件列表
factorial
.........\factorial
.........\factorial.c
.........\factorial.lnp
.........\factorial.LST
.........\factorial.M51
.........\factorial.OBJ
.........\factorial.Opt
.........\factorial.plg
.........\factorial.Uv2
.........\factorial_Opt.Bak
.........\factorial_Uv2.Bak
.........\factorial
.........\factorial.c
.........\factorial.lnp
.........\factorial.LST
.........\factorial.M51
.........\factorial.OBJ
.........\factorial.Opt
.........\factorial.plg
.........\factorial.Uv2
.........\factorial_Opt.Bak
.........\factorial_Uv2.Bak