java
public class Main {
public static void main(String[] args) {
for (int a = -10; a <= 10; a++) {
double x = Math.pow(a, 2);
double y = Math.sqrt(a);
System.out.printf("a=%d, x=%.2f, y=%.2f\n", a, x, y);
}
}
}