Search:

Type: Posts; User: Norm

Search: Search took 0.14 seconds.

  1. Replies
    14
    Views
    1,380

    Re: HELP: If-Else Statement

    Where are the savings amounts changed to non-zero values? You need to trace through where the code executes and find where the savings variables are assigned values and then trace their values to...
  2. Replies
    14
    Views
    1,380

    Re: HELP: If-Else Statement

    Where are those two methods called? If they are not called, the code inside them will not be executed.

    Do you understand what I mean when I ask: where are the methods called?
    Here is where the...
  3. Replies
    14
    Views
    1,380

    Re: HELP: If-Else Statement

    Do you have any questions about what you posted?
  4. Replies
    14
    Views
    1,380

    Re: HELP: If-Else Statement

    Where are those methods called? If they are not called, they won't be executed and set the values of the variables that you want set.
  5. Replies
    14
    Views
    1,380

    Re: HELP: If-Else Statement

    Did the println you added to the code execute and print out a message when a value was assigned to the savings1 variable?

    What you have shown by changing the initial value of savings1 is that its...
  6. Replies
    14
    Views
    1,380

    Re: HELP: If-Else Statement

    Try debugging the code by finding what variable the 0.0 value is coming from and then tracking through the code to see where that variable is getting a value. Add some println statements that print...
  7. Replies
    14
    Views
    1,380

    Re: HELP: If-Else Statement

    Please copy the full contents of the console window from when you execute the program and paste it here.
    The image is unreadable.

    On windows: To copy the contents of the command prompt window:...
  8. Replies
    14
    Views
    1,380

    Re: HELP: If-Else Statement

    Can you copy the full contents of the console window from when you execute the program and paste it here showing the output and input?
Results 1 to 8 of 8