Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 274 Bytes

File metadata and controls

12 lines (8 loc) · 274 Bytes

Write a Program to Find Sum of Fibonacci Series Number at Even Indexes

Input: n = 4
Output: 33

Fibonacci Series:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ……

Explanation:

Sum of numbers at even indexes (0 to 4 = 5 elements)
0 + 1 + 3 + 8 + 21 = 33.