Design and implement an application that reads a list of positive integers values and calculate their average. List terminates with -1.
What I would like to know is would I be using the if/else conditions for something like this?
Would I implement a loop for this? (although im pretty sure i wont be)
If I am putting in more then one number for the program, Do I have to set up more then one input for the scanner or can I put it on a loop for a set number of times?