xennygrimmato / Data-Structures-and-Algorithms

A collection of some implementations of data structures and algorithms.
107 stars 92 forks source link

create dynamic_fibonacci_series.cpp #51

Open PRIYANSHU-AMBITION opened 4 years ago

PRIYANSHU-AMBITION commented 4 years ago

This gives the complete fibonacci series upto the desired term, not just the fibonacci no. of the the term entered. For example: if someone enters 5, it will give the output in terms of series of fibonacci no. upto first 5 numbers. ex.: input- 5, output- 0 1 1 2 3