Draw a flowchart to find the fibonacci series till term 1000
Answers
I think that it will help uu
plzz mark it brainliest
Fibonacci series up to 1000 - 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987.
Step-by-step explanation:
Fibonacci Series
- Fibonacci numbers are denoted as Fn, and its sequence is called as Fibonacci sequence
- Fibonacci sequence is defined each number is the sum of two previous numbers
- Fibonacci series starts with 0 and 1
- =0, = 1 (for 0 and 1)
- For n greater than 1, = +
- Lucas number and Fibonacci numbers are related closely
- Fibonacci series find their applications in algorithms for computers, data structure, graphs, etc.,
- Fibonacci series is like - 0,1,1,2,3,5,8,13,21,34,55,89,144,...etc.,
Algorithm to create a Fibonacci series as follows
Step 1 : Start the program
Step 2 : Initialize the variables , i = 0, j=1, k=0 and fib=0
Step 3 : If i<N, where satisfies the condition N=1000
Step 4 : Then move to o/p fibonacci (1) = fib
Step 5 : Perform the calculation fib= j+k
j=k
k=fib
i=i+1
Step 6 : The loop executes continuously until the condition satisfies
Step 7 : If i>N, then the loop terminates
Output :
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987
To learn more ...
1. https://brainly.in/question/10095075
2. https://brainly.in/question/11942725