Assignemnt #82 and Counting By Halves

Code

    /// Name: Brian Phillips
    /// Period: 5
    /// Program name: CountHalves.java
    /// File Name: Counting By Halves
    /// Date Finished: 2/25/2016
      
      public class CountHalf
      {
          public static void main(String [] args)
          {
              System.out.println("x");
              System.out.println("------");
              for (double x=-10; x<=10; x=x+0.5)
              {   
              System.out.println(x);
              }
          }
      }
    

Picture of the output

CountingByHalves.html