The Environmental Eco Club has discovered a new Amoeba that grows in the order of a Fibonacci series every month. They are exhibiting this amoeba in a national conference. They want to know the size of the amoeba at a particular time instant. If a particular month’s index is given, write a program to display the amoeba’s size. For Example, the size of the amoeba on month 1, 2, 3, 4, 5, 6,... will be 0, 1, 1, 2, 3, 5, 8.... respectively. INPUT & OUTPUT FORMAT: The input is an integer which denotes the count of the month. The output is an integer denoting the amoeba size.
Answers
Answered by
0
Answer:
They want to know the size of the amoeba at a particular time instant. If a particular month’s index is given, write a program to display the amoeba’s size. For Example, the size of the amoeba on month 1, 2, 3, 4, 5, 6,... will be 0, 1, 1, 2, 3, 5, 8.... respectively. INPUT & OUTPUT FORMAT: The input is an integer which denotes the count of the month. The output is an integer denoting the amoeba size.
Similar questions
Math,
5 months ago
Math,
5 months ago
Math,
11 months ago
Chemistry,
11 months ago
Business Studies,
1 year ago