Practice · 2 of 4
Factorial
CHALLENGE
Difficulty: beginner+25 XP
Implement long long factorial(int n) computing n! iteratively. 0! is 1.
Press Submit to check your solution.
Back to lesson: Practice: Loop Gym
Practice · 2 of 4
Implement long long factorial(int n) computing n! iteratively. 0! is 1.
Back to lesson: Practice: Loop Gym