Power of a Number
In this lesson, we'll 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 needs to be multiplied by itself.
to the power is the product of with itself times!
It’s written as a small number to the right 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 explains the concept:
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.