#include int main(){ int fn, fnm1, fnm2, n, N; printf("Enter the value of N: (small postive int and above 2)\n"); scanf("%d", &N); fnm2=0; fnm1=1; n=2; while(n<=N){ fn = fnm2 + fnm1; fnm2=fnm1; fnm1=fn; n = n + 1; } printf("%d th Fibonacci Number is %d \n", N, fn); return 0; }