Study Corner

Fibonacci Series - C Program

#include<stdio.h>

int main()
{
    int n,a=-1,b=1,c=0;
    int i;
    printf("\n enter the number ");
    scanf("%d",&n);
    printf("\n the fibonacci series\n");
    for(i=0;i<=n&&c<=n;i++)
    {
          c=a+b;
          a=b;
          b=c;
         if(c<=n)
         printf("%d ",c);
    }
    
}

S5 KU Question Papers Nov 2011 (CSE/IT)

Kannur University S5 CSE/IT NOV 2011 Question Paper Complete Set 
Download Link  : http://sh.st/tek3W
Type :PDF
Available Question Papers In this File 

  • ENGINEERING MATHEMATICS IV
  • ECONOMICS AND BUSSINESS MANAGEMENT
  • THEORETICAL FOUNDATION OF COMPUTATION 
  • PROGRAMMING LANGUAGE CONCEPTS
  • OPERATING SYSTEMS
  • SOFTWARE ENGINEERING

Pages