/* jack newsom period 5 program XandY filename XandY.java date completed 10/26/15 */ public class XandY { public static void main( String[] args ) { System.out.println("x" + "\ty"); System.out.println("__________________________"); for ( double x = -10.0; x <= 10; x = x + .5 ) { double y = x*x; System.out.println( x + "\t" + y ); } } }