Computer Science, asked by gairikanag, 1 year ago

Give the output of the following expression
1) If X = -9.99, calculate math.abs(X)
2) If X = 9.0, calculate math.sqrt(X)

Answers

Answered by amannishad0512p5zxh6
40

1) X=9.99;

Explanation :- As the math.abs( ) function returns absolute means positive value always no matter + or - sign before number.

2) X=3.0;

Explanation :- As the math.sqrt ( ) function returns the square root of number.

Follow me for more java doubts.

Mark me brainlest.

Answered by meenaxichoudhary75
1

Answer:

iiiuiyjhohjhhjvhhfgeertyu6y

Similar questions