title: Rectangle with Asterisks Java
body: <p>I want to draw a Rectangle using asterisks.
  Actually i have started something but don't  know how to continue how to go backwards you can go down by using println but how to go up 
  Any help will be nice</p>
  
  <pre><code>import java.util.Scanner;
  
  public class Shapes 
  {
      public static void main (String [] args)
      {
           Scanner Read=new Scanner(System.in);
  
           int i;
           int j;
           int W;
           int L;
  
           System.out.println("Enter the Rectangle Width then Lenghts");
  
           W=Read.nextInt();
           L=Read.nextInt();
  
           for (i=0;i&lt;W;i++)
           {
               System.out.println("*");
           }
  
           for (j=0;j&lt;L;j++)
           {
               System.out.print("*");
           }
           System.out.println("");    
      }   
  }
  </code></pre>