#83

Code

  /// Name: Josh Bautista
  /// Period: 6
  /// Program Name: X and y
  /// File Name: XY.java
  /// Date Finished: 2/26/2015
  
  public class XY
{
    public static void main( String[] args )
    {
        Double x = 10.0;
        
        for ( double x1 = -10.0 ; x1 <= x ; x1 = x1 + 0.5 )
        {
            double y = x1 * x1;
            System.out.println( x1 + " , " + y  );
            //System.out.println( y + "," );
        }
        }
        }/pre>
    
    

Picture of the output

Assignment 4