12345*6=620
i right a program and its output 620 means the facturial of 6 using recursion. i could not uderstand factorial using recursion. please help me .
حسنين_1
0
Newbie Poster
Recommended Answers
Jump to PostThe factorial of a positive integer n, n!, is
1 * 2 * 3 * ... * n
for n > 0 and 1 for n = 0. Would take you about 1 second to find on google.The simple case is when n = 0, you simply return …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.