Computer Science, asked by tejachowdary1961, 11 months ago

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 shahil2k10
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