I have tried and tried and continueously failed............
Guess the Number game

Full run down, I have a program that asks the user how many users are playing, say I enter 2
Then it will ask the name of the person and what his guess is, after that player 2 enters his name and number, then the program is suppose to say whether anyone got it smack on or who's closets....

I've gotten it to print out a message when someone is smack on

But havn't been able to calculate whos closer to the number,

the players guesses are held in an array as well as there names, I would prefer to keep the finding the winner in a helper class

Any help is much appreciated