Assignemnt #84 and Noticing Even Numbers

Code

/// Name: Kyle Ivy
/// Period: 5
/// Program Name: XY
/// File Name: XY.java
/// Date Finished: 1/5/2016

  public class XY {
  
        public static void main( String[] args ) {
        
            System.out.println( " x      y " );
            System.out.println( "----------" );
            double y;
            
            for ( double x = -10; x <= 10; x = x+.5 ){
            y = x*x;
            System.out.println( x + "   " + y );
            }
        }
    }
    
    

prog84.PNG

Assignment 1