Okay, I explained why your program won't work already and even gave you the solution. The Fibonacci sequence is a simple but important one, you can find a Fibonacci number in a great many places in nature. Here's the sequence:
1 1 2 3 5 8 13 21 34 55 89 etc...
The next number in the sequence is the sum of the current number and the number before it. So here's your logic structure, you can build your program from this.
Code:
| n <= 1: 1
Fibonacci(n) = | n = 2: 1
| n > 2: Fibonacci(n - 1) + Fibonacci(n - 2)
If you want to see an implemetation of this in C, view my reply to your previous post.