Assignment 83: Xs and Ys

Code

    /// Name: Ryan McAteer
    /// Period: 5
    /// Program Name: Xs and Ys
    /// File Name: Assignment83.java
    /// Date Finished: 2/25/16
    
import java.util.Scanner;

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

Picture of the output

This Should Work