///Name: Mutsu Osoegawa ///Period: 7 ///Project Name: Counting by Halves ///File Name: CountingByHalves.java ///Date: 2/11/2016 public class CountingByHalves { public static void main( String[] args ) { System.out.println( "x" ); double y, x ; x = -10; System.out.println( "------" ); for ( y = 10; x <= y; x = x + 0.5 ) { System.out.println( x ); } } }