C++ newbie[HELP!]

Discussion in 'Programming' started by blueT, Oct 22, 2008.

  1. #1
    Anybody know how to make complexity function for Fibonacci algorithym??
     
    blueT, Oct 22, 2008 IP
  2. cybernetic07

    cybernetic07 Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hi, i know what the fibonacci algorithym is, what do you mean by make a complexity function? are you just looking for a function that can work out the numbers for the fibonacci algorithym?
     
    cybernetic07, Oct 22, 2008 IP
  3. blueT

    blueT Peon

    Messages:
    271
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have to count the complexity function for that algorithym. Anyone understand?
     
    blueT, Oct 22, 2008 IP
  4. cybernetic07

    cybernetic07 Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    sorry still abit confused, so for example heres a few of the numbers for that algorithm 0,1,1,2,3,5,8,13 and then it goes on. do you need to create somthing in c++ that calculate these numbers? so say if some1 entered in 40 it would show the value of the 40th Fibonacci Number??
     
    cybernetic07, Oct 22, 2008 IP
  5. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #5
    Barti1987, Oct 23, 2008 IP