I want to enter in a few numbers in a single line like so,
14 53 296 12 1
and separate the numbers by a space, and place them all in an array. How would I go about doing this? Also, how could I make sure that every number they entered was an integer and they entered less than 10 numbers? Perhaps using try/catch exceptions?