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
Only certain spheres.
test2
Generic Factory pattern
Floyd’s Warshall Algorithm
System Convert
a
matching parenthesis
número poderoso
an attempt at making a usable code thing (failed lol)
GetMyAppintmentData