Assignment 82

Code

///Matthew Hughs
///5th period
///Half.java
///3/31/2016

class Half
{
    public static void main (String [] args)
    {
        for (Double n = -10.0 ; n <= 10.0 ; n = n + .5)
        {
            System.out.println(n + " ");
        }
    }
}
    

Picture of the output

Countingfor