title: Write a program that displays all the numbers from 100 to 1000, ten per line, that are divisible by 5 and 6
body: <p>Write a program that displays all the numbers from 100 to 1000, ten per line, that are divisible by 5 and 6.</p>
  
  <p>this is my program:</p>
  
  <pre><code>for (int i =100; i&lt;= 1000; i++){
  
      if(i % 5==0 &amp;&amp; i % 6==0)
          System.out.print(i +" ");
  
      if (i %10==0){
          System.out.println();
  
  }
  </code></pre>