///name: Ben Borglin ///Period: 6 ///Program name: Counting by halves ///File Name: CountHalves.java ///Date Finished: 10/30/15 public class CountHalves { public static void main(String[] args) { System.out.println("x"); System.out.println("------------------"); System.out.println(" "); for (double n = -10; n <= 10; n = n + 0.5) { System.out.println(n); } } }