Results 1 to 4 of 4

Thread: Evaluate fibonacci of numbers

  1. #1
    Moderator
    Join Date
    Oct 2005
    Answers
    305

    Evaluate fibonacci of numbers

    Write a program that evaluate the fibonacci of numbers tells the nth place of the number

    NOTE : [This question was asked by basiliyos]


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: Evaluate fibonacci of numbers

    Using the following link fo find the code for fibonacci series....

    URL:
    C++ Programming : Program 36-A

    --------------------
    suresh


  3. #3
    Moderator
    Join Date
    Oct 2005
    Answers
    305

    Re: Evaluate fibonacci of numbers

    Thank you suresh


  4. #4
    Junior Member
    Join Date
    Aug 2007
    Answers
    4

    Re: Evaluate fibonacci of numbers

    main()
    {
    int i=1,m,j=1,n,k;
    clrscr();
    scanf("%d",&n);
    for(m=1;m<=n-2;m++)
    {
    i=j;
    j=k;
    k=i+j;
    }
    printf("%d",k);
    getch();
    }

    At last we have nth value of fibonacci in k.


  5.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact