Search:

Type: Posts; User: dabdi

Search: Search took 0.19 seconds.

  1. Replies
    4
    Views
    1,212

    Re: Logic issue(I believe) stumped

    No the values of the variables should all be zero. You are directly printing out what is returned from the functions
    without assigning it to your variables. So what you probably saw is those...
  2. Replies
    4
    Views
    1,212

    Re: Logic issue(I believe) stumped

    Your problem is you do not assign the values returned from the function into the variables you declared.
    Java passes primitives such as integers by value so you should not expect...
Results 1 to 2 of 2