0
Need help with this difficult code
Write a method named pow that uses a Scanner to prompt the user for a base and an exponent and returns the base raised to the given power. For example, the call pow(3, 4) returns 3 * 3 * 3 * 3 = 81. Do NOT use Math.pow in your solution; use a cumulative algorithm instead. Assume that base and exponent are non-negative.
1 ответ
0
Please refer
https://code.sololearn.com/c8I8UeAYsfM5/#java