Question: Q3 write a recursive method called powerof that has a single positive integer argume 3 returns true if the integer is a perfect power of
Q3 write a recursive method called powerof that has a single positive integer argume 3 returns true if the integer is a perfect power of 3 such as 1, 3, 9, 27. therwise it will return f For example: Powerof 3081) will return True Powerof3030) will return False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
