Search:

Type: Posts; User: TFLeGacY

Search: Search took 0.07 seconds.

  1. Re: Problem with recursive method. Can you help?

    @Freaky Chris, the last post I put up was the exact answer for my homework. I do plan on excelling in programming and I just wanted to let you know that this code was simply an assignment.
  2. Re: Problem with recursive method. Can you help?

    Thanks so much for the help you guys! It got it working great! In case you were curious, here is the code that calculates the base-b log of n.

    public int log(int b, int n)
    { if(n / b == 1)
    ...
  3. Problem with recursive method. Can you help?

    The point of my code is to find the answer of logbn. I am stuck on the part where a is incremented. I'm not exactly sure where to increment it because every value input will return 1. Any advice?...
Results 1 to 3 of 3