[Solved] allExponent write your code here for negative exponentInput
![[Solved] allExponent write your code here for negative exponentInput [Solved] allExponent write your code here for negative exponentInput](https://realcoder.techss24.com/wp-content/uploads/2022/11/Solved-allExponent-write-your-code-here-for-negative-exponentInput-768x510.png)
allExponent: You are given a base value and an exponent value. You need to calculate the value of the base raised to the power of the exponent. You need to implement the allExponent method which takes the base value and…