登录
首页 » Windows开发 » 根据所接收的值,程序可以在1到100之间接收一个整数…

根据所接收的值,程序可以在1到100之间接收一个整数…

于 2023-05-17 发布 文件大小:658.00 B
0 50
下载积分: 2 下载次数: 1

代码说明:

程序能够接收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)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103904会员总数
  • 44今日下载