/// Name: Ali Kurland /// Period: 6 /// Program Name: Counting by Halves /// File Name: CountingByHalves.java /// Date Finished: 10/26/2015 public class CountingByHalves { public static void main( String[] args ) { System.out.println( " x" ); System.out.println( "------" ); for ( double n = -10 ; n<= 10 ; n = n+0.5 ) { System.out.println( n ); } } }