Assignment #82 Counting By Halves

Code

    /// Name: Koosha Kimelman
    /// Period: 7
    /// Program Name: Counting By Halves
    /// File Name: CountHalves.java
    /// Date Completed: 12/9/15
    
    public class CountHalves {
    
        public static void main(String[] args) throws Exception {
        
            System.out.println("x\n");
            
            for (double x = -10; x <= 10; x = x + .5) {
                System.out.print(x + "\n");
                Thread.sleep(20);
            }
        }
    }
    

Picture of the output

Assignment 82