Assignemnt #83, Xs and Ys

Code

      /// Name: Alex Pinder
      /// Period: 5
      /// Program Name: Xs and Ys
      /// File Name: prog83.java
      /// Date Complete: 2/23/16
      
      public class prog83
      {
          public static void main( String[] args )
          {
              System.out.println( "x\ty\n-----------------" );
              
              for ( double x = -10; x <= 10; x = x+0.5 )
              {
                  System.out.println( x + "\t" + (x*x) );
              }
          }
      }
    

Picture of the output

Assignment 83