So you're trying to make a program that takes some numbers (the scores) as input, adds them all up, divides by the number of scores, and prints out the result? You can use a double variable to keep a running total of all the scores, and int variable to keep track of the number of scores, make a loop that asks for scores until the user is done, then divide the total by the number of scores and print it out. Your program also needs some way of knowing when the user has given it all the scores.