/**
 * class Shapes prints out square boxes
 *    today: read in an integer and use Scanner.hasNextFunctions for error checking
 * @author Katie Coons
 * @version February 2, 2007
 */

import java.util.*;

public class Shapes
{
    public static void main(String[] args)
    {
       int width = 0;
//       boolean badWidth = true;

       // always allocate a Scanner object for input
       Scanner stdin = new Scanner(System.in);  

       // No error checking
       System.out.print("Enter the width of a box: ");
       width = stdin.nextInt();
       System.out.println("Your box width is: " + width + ".\n");  
       
       // Modify the above to check that the width is an integer and positive
    }
}
