some of the first things that I see is that your methods are not static at the bottom of your code, you are passing 3 values in your call to methodtotals/totals (which expects none), you are assigning the results of this method to a variable (the method is void), your methods are expecting int values instead of doubles, and the method is called totals and you are calling it as methodtotals. The very first thing that I see when reading the code is that you do basically the same thing three times and you have the code in there three times. I would like to recommend the book Refactoring: Improving the Design of Existing Code which is an excellent book detailing how to get rid of such redunduncies. If you solve the above problems and it still doesn't work, I will look more into it. Hope this helps