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
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
1
Answer:
iiiuiyjhohjhhjvhhfgeertyu6y
Similar questions