Computer Science, asked by swapneel2, 1 year ago

in order to reach the top of a pole a monkey in his first attempt reaches to a height of 5 feet and in the subsequent jump he slips down by 2% of the height attained in previous jump.the process repeat and finally monkey reach the top of pole.write a program in Java to input height of the pole and calculate and display the number of attemp t the monkey makes to reach the top of the pole

Answers

Answered by ankit78070
37
Sweet and simple....
Attachments:
Answered by AyushiandAaditree
12
May this helps you.Plz.mark as brainlist.
Attachments:
Similar questions