Assignment #83 and Xs and Ys

Code

    /// Name: Ali Kurland
    /// Period: 6
    /// Program Name: Xs and Ys
    /// File Name: XAndY.java
    /// Date Finished: 10/26/2015
    
    public class XAndY
    {
        public static void main( String[] args )
        {
            
            System.out.println( " x      y" );
            System.out.println( "-----------------" );
            
            for ( double x = -10 ; x<= 10 ; x = x+0.5 )
            {
                System.out.print( x + "\t" );
                double y = x*x ;
                System.out.println( y );
            }
        }
    }
    

Picture of the output

Assignment 83