Search:

Type: Posts; User: eyalfish

Search: Search took 0.09 seconds.

  1. Re: problem with understanding this recursion

    Thanks! Btw i didnt write the code i ordered to analayzed it.the value is indeed 952
  2. problem with understanding this recursion

    public static boolean goo(int n){
    If(n<10){
    Return n;
    }
    Int k=goo((n/100)*10+(n%10));
    Return (k*10 +(n%100)/10);

    }

    I am still a beginner to rec concept.
Results 1 to 2 of 2