Which of the following statement is true for recursion ?
1.Absence of base condition can cause infinite loop.
2.There is only one base case.
3.Both 1 and 2.
4.None of the above.
explain
Answers
Answered by
1
Answer:
2.is your amswer
Explanation:
A farmer has a circular garden as shown in the picture above. He has different types
of trees ,plants and flower plants in his garden.
2
In the garden there are two mango trees A and B such that the distance between them
is 10m .Similarly there are two Ashoka trees C and D at the same distance 10m.
There is an apple tree at E which is on the boundary of the garden in the midway
from A to B. AB subtends 120o at the centre O and AC is at a distance of 5m from
the centre. The radius of the circular garden is 13m.
Similar questions