DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
Factorial C#
int Factorial(int n) { if (n == 1) return 1; return n * Factorial(n - 1); }
Source by metanit.com #
PREVIOUS
NEXT
Tagged:
#Factorial
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit