Computer Science, asked by viperashs09, 9 months ago

If x = -9.99, calculate Math.abs(x);
Please reply asap

Answers

Answered by Anonymous
4

Answer:

Pal, the answer is 9.99

Explanation:

This is because Math.abs(x) will result in the magnitude of the variable x, that means the only the value will be displayed without the sign.

Similar questions