public class Chap6EvenInt
{
  public static void main(String[] vars) throws Exception
   {
      int num, testNum;
      for(testNum = 1;testNum <= 100;++testNum)
      {
       System.out.println(testNum +  " is evenly divisible by ");

        for(num = 1; num < testNum; ++num)
          {
          if(testNum % num == 0)
          System.out.print(num + "  ");
          // Print the number and two spaces

          }
          System.out.println();

          if(testNum % 20 == 0)
          {
	    	  System.out.println("Press Enter to continue");
	    	  System.in.read();System.in.read();
          }
       }
    }
}
