///Name: Morgan Kaplan ///Period: 5 ///Project Name: Xs and Ys ///File Name: XY.java public class XY { public static void main( String[] args ) { for ( double n = -10; n<=10; n=n+(.5) ) { double y=n*n; System.out.println("x=" + n + ", y="+y+" "); } } }