Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
project euler 15, C#
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { Console.WriteLine(Factorial(40)/(Factorial(20)*Factorial(20))); } public static double Factorial(int n) { if(n==1) return 1; return Factorial(n-1)*n; } } }
run
|
edit
|
history
|
help
0
DN2
tesyyyyy
test using C#2019
Singly-linked IList<T> in C#
Chest Interaction Unity
ElaineBrown
hi
("Hello, world!\n");
problem
never use floats for money