public class XsAndYs
{
public static void main( String[] args )
{
System.out.println( " x y " );
System.out.println( "-----------------");
double y;
for ( double x = -10; x <= 10; x = x+.5 )
{
y = x*x;
System.out.println( x + " " + y );
}
}
}