Assignemnt #77 Counting by half

Code

/// Name:JJ Deng
/// Period: 6
/// Program Name: Counting By Halves
/// File Name: CountingByHalves.java
/// Date Finished: 1/29/2016
  
         import java.util.Scanner;
      public class Countingbyhalf
      {
          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