+1 (229) 255-3712
glass
pen
clip
papers
heaphones

  

Create a recursive method (in most languages they are called functions) that takes in a number; use that number as both the base and the exponent.

When we are programming a recursive method (function) we call the method back on itself. Make sure to read through the information links above to get an idea of how this works.

Ask for an integer from the user (5 points), create a recursive method (10 points) that will take in the user's integer and output that integer to the power of the same integer (10 points).