Practice · 4 of 4
Power by While
CHALLENGE
Difficulty: beginner+25 XP
Implement int pow_while(int base, int exp) (exp >= 0) using a while loop, not any library function.
Press Submit to check your solution.
Back to lesson: Practice: Loop Gym
Practice · 4 of 4
Implement int pow_while(int base, int exp) (exp >= 0) using a while loop, not any library function.
Back to lesson: Practice: Loop Gym