Assignment #82

Code

        /// Name: Georgi Atanasov
        /// Period: 5
        /// Program Name: Counting By Halves
        /// File Name: CountingByHalves.java
        /// Date Finished: 3/2/2016
    
    public class CountingByHalves
    {
        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 82