Computer Science, asked by mounikamanchala2000, 13 hours ago

.
Flower Petals
The nature is so beautiful!!!!! Lot of amazing things are happening in nature just like petals
formation in flowers. In spring season, on one of the tree, daily new flowers are coming up.
is following one rule. Like if on day 0, that flower will be having O petals. On day 1 and 2,1
and 1 petals respectively.
On day 3, that flower will have 2 petals and on day 4, 3 petals
and so on.
On day 7, 13.
Your task is to find out the sum of petals of the flower on day n and to print sum of
number_of_petals on each day all nth day,
Example
Given number
'n' number of days which is a non-negative integer.
consider i day n = 10
sum of number
of petals will be printed on day 10 = 0 1+1+2+3+5+8+13+21+34+55​

Answers

Answered by haligoudarg
1

Explanation:

answer

give the answer fast

Answered by akhila1905q2
0

Answer:

need answer for this question

Similar questions