Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

CSC112 Spring 2016 Examples

2370 views
1
#include <iostream>
2
3
using namespace std;
4
5
unsigned long int fibWorker(unsigned long int x, unsigned long f1, unsigned long f2)
6
{
7
if(x >= 2) {
8
return f1 + f2;
9
}
10
}
11
12
unsigned long int fib(unsigned long int x)
13
{
14
15
}
16
17