Search Results

Search found 133 results on 6 pages for 'davit datuashvili'.

Page 6/6 | < Previous Page | 2 3 4 5 6 

  • question about Tetration

    - by davit-datuashvili
    i have question how write program which calculates following procedures http://en.wikipedia.org/wiki/Tetration i have exponential program which returns x^n here is code public class Exp{ public static long exp(long x,long n){ long t=0; if (n==0){ t= 1; } else{ if (n %2==0){ t= exp(x,n/2)* exp(x,n/2); } else{ t= x*exp(x,n-1); } } return t; } public static void main(String[]args){ long x=5L; long n=4L; System.out.println(exp(x,n)); } } but how use it in Tetration program?please help

    Read the article

  • how use in it in main project?

    - by davit-datuashvili
    I have the following interface: public interface MyFunctor { int myFunction(int x); } And I created a class which implements this interface : public class Myfunction1 implements MyFunctor { } how use in main project? i have corrected mistake now i need how run it in main project? i mean in public static void main(String[]args)?

    Read the article

  • question about comlen function in java

    - by davit-datuashvili
    in c or c++ function comlen is defined such int comlen(char *p,char *q){ int i=0; while *p && (*p++==*q++) i++; return i; is this code equivalent of this function int comlen(String s,String m){ int i=0; while (i<s.length() && s.charAt(i)==m.charAt(i)){ i++; } return i; ? please help

    Read the article

< Previous Page | 2 3 4 5 6