///Name: Ian Grant ///Period:5 ///Project Name: Counting by Halves ///File Name:CountHalves.java ///12/11/15
public class CountHalves { public static void main(String [] args) { System.out.println("x"); System.out.println("------"); for (double x=-10; x<=10; x=x+0.5) { System.out.println(x); } } }