如何生成斐波那契系列(小于100) [英] how to generate fibonacci series (lesser than 100)

查看:99
本文介绍了如何生成斐波那契系列(小于100)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何生成斐波纳契系列(小于100)

how to generate fibonacci series (lesser than 100)

推荐答案

请回顾一下斐波纳契系列的等式定义。


您是否打算打印该系列的前100个术语;或者您希望将系列打印到第一个大于100的项目?
Please recap for us what equations define the Fibonacci Series.

Do you seek to print the first 100 terms of the series; or do you wish to print the series up to the first term that is greater than 100?


使用黄金比率生成斐波那契数字。

这可能会对你有所帮助


问候

Dheeraj Joshi
Use golden ratio to generate the Fibonacci numbers.

This may help you

Regards
Dheeraj Joshi


OP可能需要帮助获得一个C / C ++程序来进行他的竞标,但他应该能够描述该程序应该做什么(在此案例,Fibonacci系列)。完全有条理地规划必要的方程通常表明该方案的结构良好。
The OP may need help getting a C/C++ program to do his bidding but he ought to be able to describe what the program should do (in this case, the Fibonacci Series). Laying out the necessary equations fully and methodically often suggests a good structure for the program.


这篇关于如何生成斐波那契系列(小于100)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆