Assignment #83 and Xs and Ys

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Xs and Ys
    ///File Name: XAndY.java
    ///Date Finished: 11/3/15
        
    public class XAndY
    {
        public static void main ( String[] args )
        {
            Double y;
            System.out.println( "X\tY");
            
            for ( double x = -10.0; x <= 10; x = x + 0.5 )
            {
                y = x * x;
                
                System.out.println( x + "\t" + y );
            }
        }
    }
        

Picture of the output

Assignment83