Computer Science, asked by achyuthchanti8055, 5 months ago

Note: You need to pr
There are total n number of Monkeys sitting
on the branches of a huge Tree. As travelers
offer Bananas and Peanuts, the Monkeys
jump down the Tree.
If every Monkey can eat k Bananas and
Peanuts. If Total m number of Bananas and
p number of Peanuts offered by Travelers,
calculate how many Monkeys remain on the
Tree after some df them jumped down to
eat.
At a time, one Monkey gets down and
finishes eating and go to the other side of
the road. The Monkey who climbed down
does not climb up again after eating until
the other Monkeys finish eating
Monkey can either eat k Bananas or )
Peanuts if for last Monkey there are less
thank Bananas left on the ground or less
than Peanuts left on the ground, only that

Answers

Answered by Jhapravinkumar9
0

Answer:

niceee

Explanation:

pls mark me as brainliast and follow me as brother

Similar questions