Computer Science, asked by priyanshusingh0748, 6 months ago

Write a program to print Fibonacci series till 10th term.

Answers

Answered by riyaamen303
0

Answer:

#include<stdio.h>

int main()

{

int a = 0, b = 1, m = 0, i;

for (i = 3; i < 10; ++i)

{

a = b;

b = m;

m = a + b;

printf("\n %d ", b);

}

return 0;

}

Hope this helps you.Please add as Brainliest if it is correct.

Similar questions