Assignemnt 82 and Counting By Halves

Code

    /// Name: Xinting Chen
    /// Period: 7
    /// Program Name: Counting By Halves
    /// File Name: Counting By Halves.java
    /// Date Finished: 2/23/2016
  
         import java.util.Scanner;
      public class CountingByHalves
      {
          public static void main( String[] args )
          {
              System.out.println("x ");
              System.out.println("------");
              for (double x= -10; x<= 10; x= x+ .5)
              {
                  System.out.println(x + " ");
              }
          }
      }
    

Picture of the output

Assignment 82