The Java Program: 4-loopy-puzzlers/puzzle-26/InTheLoop.java

  1 public class InTheLoop {
  2     public static final int END = Integer.MAX_VALUE;
  3     public static final int START = END - 100;
  4 
  5     public static void main(String[] args) {
  6         int count = 0;
  7         for (int i = START; i <= END; i++)
  8             count++;
  9         System.out.println(count);
 10     }
 11 }