Assignemnt #83 and Xs and Ys

Code

    /// Name: Brian Phillips
    /// Period: 5
    /// Program name: XY.java
    /// File Name: Xs and Ys
    /// Date Finished: 2/25/2016
      
      public class XY
      {
          public static void main(String [] args)
          {
              System.out.println("x \t y");
              System.out.println("-----------------------");
              for (double x=-10; x<=10; x=x+0.5)
              {
                  double y = x*x;
                  System.out.println(x+"   "+y);
              }
          }
      }
    

Picture of the output

XY.html