title: java program outputting even/odd numbers
body: <p>My task is to write a java program that first asks the user how many numbers will be inputted, then outputs how many odd and even numbers that were entered. It is restricted to ints 0-100. My question is: What am I missing in my code?</p>
  
  <pre><code>import java.util.Scanner;
  
  public class Clancy_Lab_06_03 {
      public static void main(String[] args) {
          Scanner input = new Scanner(System.in);
          int n;
          System.out.println("How many numbers will be entered?");
          n = input.nextInt();
          while (n &lt; 0 || n &gt; 100) {
              System.out.println("ERROR! Valid range 0-100. RE-Enter:");
              n = input.nextInt();
              n++;
          }
          int odd = 0;
          int even = 0;
          while (n &gt;= 0 || n &lt;= 100) {
              n = input.nextInt();
              if (n % 2 == 0) {
                  even++;
              } else {
                  odd++;
              }
  
          }
          System.out.println(even + "even" + odd + "odd");
      }
  }
  </code></pre>