The Power of a Number
In this lesson, we will learn how to find the power of a number using recursion.
We'll cover the following
What does “Power of a Number” mean?
The power (or exponent) , of a number represents the number of times will be multiplied by itself. It is written as a small, superscript number to the right of and above the base number.
For example, if the base number is and the exponent value is , we represent this as follows:
The following illustration demonstrates this concept further.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.