Write the equivalent Java statements for the following using ONLY
mathematical functions.
1. Print the positive value of –101
2. Print the rounded off value of 234.49
Answers
Answered by
6
Math.abs(-101); → 101
Math.round(234.49); → 234
Read my bio
Similar questions