title: How do I print both Strings and Ints from a single text file?
body: <p>I have a file pretty much as follows, but for a couple more names (each word and number is on a separate line) :
  James
  123
  343
  355
  Kyle
  136
  689
  680</p>
  <p>I’ve been trying to read all these in as strings, and use parseInt to convert them to ints, as I need to find the avgs of the numbers following the names. It hasn’t worked though, and I’m curious as to how to print this file inside of Java. Thank you</p>