Flowchart to calculate the fibonacci series
Algorithm of Fibonacci Series
Step 1: START
Step 2: Declare variable n1, n2, sum, n, i
Step 2: Initialize variables:
n1 = 0, n2 = 1, i = 2
Step 3: Read n
Step 4: Repeat this step until i <= n:
sum = n1 + n2
print sum
n1 = n2
n2 = sum
i = i + 1
Step 5: STOP