Square Function 2

Complete the following program by defining the function square(x) that takes a double and returns the square of its value
Note: This problem is similar to the previous problem "Square Function" but this one works with double instead of integer

Example 1

Input

2.5

Output

6.25

Example 2

Input

4.2

Output

17.64

Test your solution here
when it passes, copy it and submit it here so your coach can grade it.