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
Computer Science,
3 months ago
Math,
7 months ago
Biology,
7 months ago
Social Sciences,
11 months ago
Science,
11 months ago
Chemistry,
11 months ago