Skip to content

Commit 5bdde22

Browse files
Update dynamic_programming/factorial_top_down_dp.cpp
Co-authored-by: realstealthninja <[email protected]>
1 parent 63319b7 commit 5bdde22

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

dynamic_programming/factorial_top_down_dp.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,5 @@ void test_fact_rec() {
4949
int main() {
5050
// Run test cases
5151
test_fact_rec();
52-
53-
// User interaction loop
54-
// int n;
55-
// std::cout << "Enter a non-negative integer to compute factorial (0 to exit): ";
56-
// std::cin >> n;
57-
// if (n < 0) {
58-
// std::cout << "Please enter a non-negative integer only.\n";
59-
// return 0;
60-
// }
61-
// std::cout << "Factorial of " << n << " = " << fact_rec(n) << std::endl;
62-
6352
return 0;
6453
}

0 commit comments

Comments
 (0)