We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ee20d7 commit 5a50c43Copy full SHA for 5a50c43
fibonacci_number/FibonacciNumber.c
@@ -1,6 +1,6 @@
1
#include<stdio.h>
2
3
-long long int fibonacci(long long int n)
+long long int FibonacciNumber(long long int n)
4
{
5
//Because first fibonacci number is 0 and second fibonacci number is 1.
6
if(n==1 || n==2)
@@ -36,7 +36,7 @@ int main()
36
}
37
else
38
39
- long long int nth_Fib = fibonacci(n);
+ long long int nth_Fib = FibonacciNumber(n);
40
printf("Fibonacci Number is %lli",nth_Fib);
41
42
return 0;
0 commit comments