To print squares of 10 numbers from one to ten
01/01/2002 08:24
public class squaresofnumbers
{
public static void main(String args[])
{
for(int i=1;i<=10;i++)
System.out.println(i*i);
}
}