Search:

Type: Posts; User: HyperRei

Search: Search took 0.20 seconds.

  1. Replies
    4
    Views
    830

    [SOLVED] Re: String Recursive Method

    I honestly forget what that line did...but yes you are correct that is exactly what it does. When it finds it x before hi, it simply does not count it. It should only count hi should it appear and if...
  2. Replies
    4
    Views
    830

    [SOLVED] Re: String Recursive Method

    Yes I can. The only line within main, as you can see, just prints out the output of the countHi2 method. As to what the countHi2 method does, the first two if statements are supposed to be base...
  3. Replies
    4
    Views
    830

    [SOLVED] String Recursive Method

    I was given the prompt below and while I have made my program count the number of times the word "hi" appears in the String given to the method, I'm not sure what to do about having the code ignore...
Results 1 to 3 of 3