Assignemnt #83 and Xs and Ys

Code

  /// Name: Marco Correa
  /// Period: 5
  /// Program Name: Xs and Ys
  /// File Name: Xs and Ys.java
  /// Date Finished: 1/22/2016



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

Picture of the output

Assignment 83