/// Name: Koosha Kimelman
/// Period: 7
/// Program Name: Xs and Ys
/// File Name: XandY.java
/// Date Completed: 12/10/15
public class XandY {
public static void main(String[] args) throws Exception {
double x, y;
System.out.println("x\ty");
for (x = -10; x <= 10; x += .5) {
y = x * x;
System.out.print(x + "\t" + y + "\n");
Thread.sleep(20);
}
}
}