Assignemnt #83 and Counting Halves And Squaring

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: Counting Halves And Squaring
    ///File Name: CountingHalvesAndSquaring
    ///Date Finished: 2/3/16
    
    public class CountingHalvesAndSquaring
    {
        public static void main( String[] args )
        {
            
            for ( double x = -10.0 ; x <= 10.0 ; x = x+.5 )
            {
                double y = x * x;
                System.out.println( x + "\t" + y );
            }
            
        }
    }


    

Picture of the output

Assignment 69