Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 240 Bytes

File metadata and controls

9 lines (7 loc) · 240 Bytes

Power function

What it does

Given a base and power using recursion, calculates the result by multiplying the base by the base to the power of power minus one.

How to use

Run the program Type in your base Type in your power