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,
21 days ago
English,
21 days ago
Physics,
21 days ago
Hindi,
1 month ago
Political Science,
8 months ago