Assignemnt #82 and Counting By Halves

Code

  /// Name: Marco Correa
  /// Period: 5
  /// Program Name: Counting By Halves
  /// File Name: Counting By Halves.java
  /// Date Finished: 1/22/2016



  public class CountingByHalves
  {
	  public static void main( String[] args )
	  {	
		  System.out.println( "x" );
		  System.out.println( "------" );				
		  for ( double x = - 10; x <= 10; x += 0.5 )
		  {
			  System.out.println( x );
		  }
	  }
  }

    

Picture of the output

Assignment 82