Thanks! :)
Type: Posts; User: saria777
Thanks! :)
alrighty. I've got it to compile /finally/. And yes, when it gets so large it begins showing negative numbers.
#include <stdio.h>
int Fibonacci (int n);
int main ()
{
dang it. I feel like such a noob :eek:
#include <stdio.h>
unsigned int Fibonacci (unsigned int n);
int main ()
{
I replaced what I had with the iteration function that was on your link. I'm getting an error that says: 'test.c: In function Fibonacci:' 'test.c:23: error: for loop initial declaration used outside...
I got it working with a recursive function, but uhm yeah...took forever, so I'll try to do it with the other thing.
Hi everyone! This is my first post, and I'm quite a noob at C. I have a homework assingment I have to do, and I've thought on it a lot, but it's confusing me. Here's the exact problem given:
The...