(function() {
var useSSL = 'https:' == document.location.protocol;
var src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
document.write(' ');
})();
googletag.cmd.push(function() {
googletag.defineSlot('/32882001/L', [728, 90], 'div-gpt-ad-1473193443042-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableSyncRendering();
googletag.enableServices();
});




<-- type="text/java--"
-->
<-->
(function(){
// mini cookie-consent code (c) Juan Soulie, 2016
var s ='consent=cookie';
var e = document.createElement('div');
e.innerHTML = '
Published by mhcrnl
Aug 9, 2016 (last update: Aug 9, 2016)
C++ class for generate Fibonacci series
Score: 3.3/5 (101 votes)
Fibonacci class
The Fibonacci sequence is named after italian mathematician Leonardo of Pisa, known as Fibonacci. His 1202 book "Liber Abaci" introduced the sequence to Western European mathematics, althoutgh the sequence had been described earlier as Virahanka numbers in Indian mathematics. By convention, the sequence begin either with Fo=0 or with F1=1. |
|
Attachments: [main.cpp]
Home page | Privacy policy
© cplusplus.com, 2000-2017 - All rights reserved - v3.1
Spotted an error? contact us
© cplusplus.com, 2000-2017 - All rights reserved - v3.1
Spotted an error? contact us
This website uses cookies. By continuing, you give permission to deploy cookies, as detailed in our privacy policy. ok
';
if (document.cookie.indexOf(s)!==-1) return;
var b = document.getElementsByTagName('body')[0];
b.insertBefore(e,b.firstChild);
var x = function() { document.cookie = s+'; path=/'; e.parentNode.removeChild(e); };
e.addEventListener('click',x);
document.addEventListener('scroll',x);
})();
-->