Search:

Type: Posts; User: rhoruns

Search: Search took 0.12 seconds.

  1. Thread: Recursion help

    by rhoruns
    Replies
    4
    Views
    862

    Re: Recursion help

    so this is what i came up with i think it will work.

    public static void Long(Long n){
    System.out.prinln(n % 10);
    if(n / 10 !=0)
    reverse(n/10);

    }
  2. Thread: Recursion help

    by rhoruns
    Replies
    4
    Views
    862

    Recursion help

    Hello, im new the forums and was wondering if you could help me with a problem I have to do for my Comp Sci class.

    The question is:

    Write a function called reverse that takes a long integer...
Results 1 to 2 of 2