Look at the code and find where the average variable is given a value. Add a call to the println() method to print out the values of all the variables that are used to compute average. A sample...
Type: Posts; User: Norm
Look at the code and find where the average variable is given a value. Add a call to the println() method to print out the values of all the variables that are used to compute average. A sample...
Where is the average calculated? Why is the value that is printed 0.0?
Try debugging the code by adding some println() statements to the code that prints outs the values of the variables use to...
Is that a question?
Can you explain what problems you are having with the code? What did you try and what happened?