Hello.
I am currently writing a program that adds together any number of integers entered by the user, adds them together and outputs both the sum and the largest number the user entered - for this particular part of the program I am using a method called 'returnLargest', since the number of values to be added together is not fixed. However, I am a bit stumped as to where abouts in the program the method should be declared.
For some reason, the compiler won't let me declare the method either just inside main or before/after it. :S
Any help/guidance would be greatly appreciated.
Here is my code: