Hi thank you that fixed the problem of having the output end after the term, however, the series now starts at 0 in the output, so when I enter Fibonacci 3, I really only see the series up to the second term (assuming the first term is 1). I added this below, but it won't work. Any ideas?

fib[0] ='\0';

fib[1] = 1;

fib[2] = 1;

fib[0] ='\0';

fib[1] = 1;

fib[2] = 1;