CountingHalve

Code

import java.util.Scanner;

public class CountingHalve
{
    public static void main( String[] args )
    {
        Scanner keyboard = new Scanner(System.in);
        
        double x;
        

        System.out.println( "x"  );
        

        for (  x = -10 ; x <= 10 ; x = x+.5 )
        {
            System.out.println( x );
        }
    }
}

CountingHalve

Assignment 82