摘要:
Fibonacci数列介绍: 有如下特点:第1、2两个数为1,1。从第三个数开始,该数是其前面两个数之和。 例:1,1,2,3,5,8,13,21,…… 使用普通循环的方法: !!!问题要求:罗列数列前二十个数 #include <stdio.h>int main(){ int f1=1; int 阅读全文
posted @ 2019-07-23 17:52
一点小经验
阅读(8158)
评论(0)
推荐(0)
2019年7月23日