title: Issue with Reading two Int values from a file
body: <p>I have file with the below data</p>
  
  <pre><code>A,8,43
  B,7,42,
  C,9,34
  </code></pre>
  
  <p>I am using the below code to read the data </p>
  
  <pre><code>Scanner input = new Scanner(new File("D:\\test.txt"));
  input.useDelimiter(",|\n");  
  while(input.hasNext()) {
     String name = input.next();
     int age = input.nextInt();
     int height = input.nextInt();
  </code></pre>
  
  <p>When I am executing the program I am getting InputMisMatch exception, 
  Please suggest what is mistake.</p>