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...
Type: Posts; User: Norm
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...
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:...
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.
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...