Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Re: I am having trouble getting my program to return Withholding Tax (keeps returing zero).

    Try debugging the code by adding some printlns to print out the values of all the variables used in the computation. The printed out values will show you what the computer sees when it executes the...
  2. Re: I am having trouble getting my program to return Withholding Tax (keeps returing zero).

    Where is there a println statement that prints out the value returned by the getTaxWitholding() method?

    The program calls the method and ignores the value that it returns.


    Look at this line:...
  3. Re: I am having trouble getting my program to return Withholding Tax (keeps returing zero).

    Where does the program print out the value of the withholding tax?
    I don't see any calls to the println method with that value.
  4. Re: I am having trouble getting my program to return Withholding Tax (keeps returing zero).

    What line in the code is returning the 0? Is there a variable that is supposed to have a non-zero value?

    Check the code that puts a value in the variable to see why it does not assign a valid...
Results 1 to 4 of 4