Assignment #82 and Counting By Halves

Code

        /// Name: Trent Lane
    /// Period: 6
    /// Program Name: Counting By Halves
    /// Date Finished: 2/17/2016
    
    public class Halves
    {
        public static void main(String[] args)
        {
            for( double n = -10; n <= 10; n = n + 0.5 )
            {
                System.out.println(n);
            }
        }
    }

 

Picture of the output

Assignment 71