title: Putting Nested Loops Composite Numbers in Columns
body: <p>I have to write a program that will print out all of the composite numbers that are less than 100. I have to use nested loops to complete this program. Also, the values must be displayed in a table with 10 numbers in each column.</p>
  
  <p>I have been trying this program for over a week now, and I just am completely lost, could I have some help with this?</p>
  
  <p>I did the composite number part, but how exactly do you put the numbers into columns with 10 numbers in each column? Here is the code:</p>
  
  <pre><code>import java.util.Scanner;
  
  class SwitchStatements {
      public static void main(String[]Args) {
       for (int i = 0; i &lt;= 100; i++) {
          for (int j = 2; j &lt;= i/2; j++) {
              if (i % j == 0) {
                 System.out.println(i);
                 break;
              }
           }
        }
     }
  }
  </code></pre>