Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Exponent

Write a recursive exponentiation function that raises a base by a power.

Bonus: It should handle negative powers. Hint: The two base cases are very important. What are they?

More on exponents