...

/

Calculate Square Root of a Number

Calculate Square Root of a Number

Given a non-negative double number, write a function to calculate its square root.

Statement

Given a number of type double, calculate its square root.

Constraints

For this problem, the given number is always a non-negative double number.

Example

Sample input

16.0

Expected output

4.0
Access this course and 1400+ top-rated courses and projects.