title: Java: Program will stop in a certain condition then press any key to continue... it will continue to loop
body: <p>Problem is I will print all the characters in the keyboard, however everytime it counts 10 the program will stop then press any key to continue.. the sequence will continue.. so far this is what i've done.</p>
  
  <pre><code>public class AsciiDisplay
  {
      public static void main (String [] args)
      {
  
          for (int i = 0; i&lt;=255; i++)
              System.out.printf("%d\t%c\n",i,i);
      }
  }
  </code></pre>