what is the value of:
(Math. abs(-1)+Math. pow(2,3)) ?
Answers
Answered by
11
Answer:
Explanation:
- abs() returns absolute value of a number
- pow() returns a number raised to power other number.
Answered by
2
Full code::
public class Brainly {
public static void main(String [] args) {
System.out.println(Math.abs(-1) + Math.pow(2, 3));
}
}
Output::
9
Logic::
==> There were two functions in the question -- Math.abs(), Math.pow().
==>Math.abs() returns the absolute number and Math.pow() raises the power of one number to the another.
Hope This Helps You..♪
Similar questions