James Tsillas pointed out that the specification of average leaves open two interpretations. This refers to Question 2 in Hw 2. The example below shows which one I meant. A sub-container is considered as an item with its own total weight. Feel free to change the *.cd file if needed. If you have already implemented the other interpretation, turn in that one with a description of your assumption for full credit. The result for the second interpretation would be for the entire container: (10 + 10 + 6 + 9 + 7 + 6)/6 -- Karl ============ Both Java programs print out the running average as Weight-objects are encountered during the traversal. Change the programs so that they print the average for each subcontainer. Example: For input: ( apple 10 ( apple 10 kiwi 6 10) pear 9 ( apple 7 10) kiwi 6 50) the program should print three partial results: 8 // average for first sub-container 7 // average for second sub-container 8 // (10 + 8 + 9 + 7 + 6)/5 = average for total container A sub-container is considered as an item with its own total weight.