class Squares {
    /** Print out the squares of integers from 1 to 10 */
    public static void main(String[] args) {
	int x = 1;

	System.out.println("Squares of integers from 1 to 10:");
	while (x <= 10) {
	    System.out.println(x * x);	// print x squared
	    x = x + 1;			// add 1 to x
	}
    }
}
