Assignemnt #82, Counting By Halves

Code

      /// Name: Alex Pinder
      /// Period: 5
      /// Program Name: Counting By Halves
      /// File Name: prog82.java
      /// Date Complete: 2/22/16
      
      public class prog82
      {
          public static void main( String[] args )
          {
              System.out.println( "x\n------" );
              
              for ( double x = -10; x <= 10; x = x + 0.5 )
              {
                  System.out.println( x );
              }
          }
      }
    

Picture of the output

Assignment 82