Example #1
0
 public Ackermann(int x)
 {
     this.x = x;
     if (x != 0)
     {
         a = new Ackermann(x - 1);
     }
 }
Example #2
0
        public static int Test(int y)
        {
            Ackermann a = new Ackermann(1);

            return(a.Calculate(y));
        }
Example #3
0
 public static int Test(int y)
 {
     Ackermann a = new Ackermann(1);
     return a.Calculate(y);
 }
Example #4
0
 public Ackermann(int x)
 {
     this.x = x;
     if (x != 0)
         a = new Ackermann(x-1);
 }