Hello,
I need some help with my java code about a calorie tracker. Basically what the program should do is have four items with their calorie totals. Then the program should display the highest calories, the name of the menu item with the highest calories, and display the average of all four item calories. What I'm having trouble with is the addToCounter part of the code. I can't get the values to store in the instance variables defined earlier in the code as private and values of zeros and empty string. Here is my code so far.