Example 38: Calculate Power
Learn how to calculate n raised to power m.
We'll cover the following...
Problem
Write a function that receives two numbers, n and exponent, and calculates the value of n raised to the given exponent.