Practice ยท 2 of 4
Factorial
Implement long long factorial(int n) computing n! iteratively. 0! is 1.
Difficulty: beginner
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.
Difficulty: beginner
Back to lesson: Practice: Loop Gym