answersLogoWhite

0

what? Assuming you wanted an algorithm to find the nth number in the Fibonacci sequence:

double Fib(int i)

{

double x = 1;

double y = 1;

if (i

User Avatar

Wiki User

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine

Add your answer:

Earn +20 pts
Q: How do you calculate the nth term in the Fibonacci sequence using C?
Write your answer...
Submit
Still have questions?
magnify glass
imp