文件名称:Fibonacci
介绍说明--下载内容均来自于网络,请自行研究使用
程序能够接收1~100之间的整数,根据接收的数值,计算其Fibonacci数,在屏幕上输出其值。Fibonacci数列的定义如下:
Fib(1)=1
Fib(2)=1
Fib(n)=fib(n-2)+fib(n-1)
-Program can receive an integer between 1 to 100, according to the received value, to calculate the Fibonacci number, the screen output of its value. Fibonacci sequence is defined as follows: Fib (1) = 1 Fib (2) = 1 Fib (n) = fib (n-2)+ fib (n-1)
Fib(1)=1
Fib(2)=1
Fib(n)=fib(n-2)+fib(n-1)
-Program can receive an integer between 1 to 100, according to the received value, to calculate the Fibonacci number, the screen output of its value. Fibonacci sequence is defined as follows: Fib (1) = 1 Fib (2) = 1 Fib (n) = fib (n-2)+ fib (n-1)
相关搜索: fib
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Fibonacci.txt