The area of a square is stored in a double variable named area. Write an expression whose value is length of the diagonal of the square.
LANGUAGE: JAVA
CHALLENGE:
The area of a square is stored in a double variable named area. Write an expression whose value is length of the diagonal of the square.
SOLUTION:
Math.sqrt(area*2)