Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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 { public static void Main(string[] args) { //Your code goes here Console.WriteLine(F(3).ToString()); } public static int F(int n) { if(n > 1) return F(n-1) - 7; else return -31; } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
SKR2
BRHOOM 111
BankAccount
Клас cstatic
parsowanie daty
n th to last element
uniqueness
C# interview question. Closure pitfalls.
Bid Status
pass-len-to-predicate-modified
stackse - search stackoverflow differently
Please log in to post a comment.