Did you print out the values computed and assigned to see where the problem is?
What values should each of those expressions compute?
What values did each of those expressions compute?
It's nice...
Type: Posts; User: Norm
Did you print out the values computed and assigned to see where the problem is?
What values should each of those expressions compute?
What values did each of those expressions compute?
It's nice...
Which line(s) of code is computing the wrong value?
Add a println() after each line that assigns a value to a variable and print out the variable's value.
If you know how the computations are...