Write a program to print the following series having n number of elements. 0, 1, 1, 2, 3, 5, 8, 13 .......... ..... n, where n will be entered user.
Answers
Answered by
0
Explanation:
Algorithm is a step by step procedure, which defines a set of instructions to be executed in certain order to get the desired output. ... Output − An algorithm should have 1 or more well-defined outputs, and should match the desired output. Finiteness − Algorithms must terminate after a finite number of steps.
Similar questions