Write a program that reads a sequence of natural numbers, and prints the square and the square root of each one.
Input consists of a sequence of natural numbers.
For every given number, print in a line its square, and its square root with six digits after the decimal point.
Use the procedure that your programming language already provides to compute square roots.
4 2 1000
16 2.000000 4 1.414214 1000000 31.622777