write a algorithm to generate fibonassic series
Answers
Answered by
0
Answer:
Algorithm. Algorithm of this program is very easy − START Step 1 → Take integer variable A, B, C Step 2 → Set A = 0, B = 0 Step 3 → DISPLAY A, B Step 4 → C = A + B Step 5 → DISPLAY C Step 6 → Set A = B, B = C Step 7 → REPEAT from 4 - 6, for n times STOP.
Explanation:
Answered by
0
Answer:
Here is your answer
Explanation:
START
Step 1 → Take integer variable A, B, C
Step 2 → Set A = 0, B = 0
Step 3 → DISPLAY A, B
Step 4 → C = A + B
Step 5 → DISPLAY C
Step 6 → Set A = B, B = C
Step 7 → REPEAT from 4 - 6, for n times
STOP
Similar questions
Math,
1 month ago
Biology,
1 month ago
Hindi,
2 months ago
English,
2 months ago
Political Science,
9 months ago