Assignment #82 and Counting By Halves

Code

                        /// Name: Graham Pollock
                        /// Period: 5
                        /// Program Name: Counting By Halves
                        /// File Name: CountingByHalves.java
                        /// Date Finished: 02/10/2016/

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

Picture of the output

Assignment