double c = square(3.5); // Sets c to 1.29 double d = square(4.5); // Sets d to 4.5
square()返回 x*x (x 是浮点型).
square(x)
x double, float or int
y double, float or int
返回 double