Need help on making my output into rows and columns
<p>I seem to have the code I need and I can get an out put correctly. So I'm out putting 38 random numbers but need to out put them into rows of seven I believe I solved the answer to the correct coding to use however It's not putting out correctly or I'll get errors here is my code would like some assistance please.</p>

<pre><code>import java.util.Scanner;

public class OneCounter2{

        public static void main(String args[]){ 
            Scanner input = new Scanner( System.in );
            System.out.println(" Product 2: Tires");
            System.out.println("  Random numbers between 1 and 3800 are,");
            for ( int row = 0 ; row &lt; 5 ; row++ )
            {
                // PRINT a row
                for ( int col = 0 ; col &lt; 7 ; col++ )
            }
            for(int i=0; i &lt; 38 ; i++)
            {
                System.out.print( "*" ) ;
             }
              // PRINT newline
               System.out.println( "" ) ;
               System.out.println("  Random Numbers ["+ (i+1) + "] : " + (int)(Math.random()*3800));
          }
       }
      }
</code></pre>
