Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Recursive 2
//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 readonly Random rand = new Random(); public static void Main(string[] args) { //Your code goes here //Recursive(4,.53); /* double a = 362.3; int b = (int) a/10%10; Console.WriteLine(b); */ Geo( } /*public static double Recursive(double r, double x) { double x2=x; double x3; for (int i=0; i<rand.Next(150,200); i++) { x=x2; x2=r*x*(1-x); return x2; } return } public static double Recur( double r, double x) { }*/ public static int Geo(int x){ int n=2; int t=0; t++; if (t>=10){ return x; } return Geo(x*n); } } }
run
|
edit
|
history
|
help
0
Order of Ops 6.5 (added brackets)
,
Multithreading
Quadratic equation
max & min binary search tree
asxsdsdxasd
reverse words in astring
Class work
07-05-20
2.1 Basic types: Lists and Linq beauty