Assignment #83 and X and Y's

Code

                        /// Name: Graham Pollock
                        /// Period: 5
                        /// Program Name: XY's
                        /// File Name: XYs.java
                        /// Date Finished: 02/11/2016/
                        
    public class XYs
        {
            public static void main(String[] args)
            {
                System.out.println(" x" + "\t" + "y");
                System.out.println("-------------");
                
                for (double x = -10; x <= 10; x = x + .5)
                {
                    double y = x * x;
                    
                    System.out.println(x + "\t" + y);
                }
            }
        }
    

Picture of the output

Assignment