Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Recursion
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { static public int factorial(int n){ if( n== 1) return 1; else return (n * factorial(n-1)); } public static void Main(string[] args) { //Your code goes here int n = Int32.Parse(Console.ReadLine()); Console.WriteLine(factorial(n)); } } }
run
|
edit
|
history
|
help
0
Fibonacci Series
Main5.3
CRC 8 bit Table calculation
XML filtering example
multi variable random number generator
Finonacci Series
code for part 4 gogoaim
Captcha
601
Validation along token stack feature