Fibonacci series: It's a series which every term will be sum of previous two term and first two term is default which can be 0,1 0r 1,1. We take it as 1,1 in this problem. So the series is 1,1,2,3,5,8,13,21,................
Problem:-Write a c program which can in put a integer number and display the series and sum till that term. Also display which number is situated in that term .
Solve:-
Output:-
Problem:-Write a c program which can in put a integer number and display the series and sum till that term. Also display which number is situated in that term .
Solve:-
Output:-
No comments:
Post a Comment