#82

Code

  /// Name: Josh Bautista
  /// Period: 6
  /// Program Name: Counting Halves
  /// File Name: CH.java
  /// Date Finished: 2/26/2015
  
  public class CBH
{
    public static void main( String[] args )
    {
        double x = 10.0;
        
        for ( double n = -10.0 ; n<=x ; n = n + 0.5 )
        {
            System.out.print( n + "," );
            }
            }
            }
    

Picture of the output

Assignment 4