Question: recursion java help 5. write a recursive program which takes a int number as a parameter and squares this int number until the result is
5. write a recursive program which takes a int number as a parameter and squares this int number until the result is greater than or equal to 18560. E.g., method(10)- 100000000; method 200)- 40000; method(20000)- 20000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
