Computer Science, asked by ntsenolotha, 1 month ago

An______ function is used to return the absolute value of any expression. Subject Computer​

Answers

Answered by INFORMATIVENINE
1

Answer:

The 'abs' function returns the absolute value of the mathematical expression.

Answered by xospheregaming
1

Answer:

modulus OR abs

Explanation:

Modulus function is used to return absolute value of an expression.

In computer programming modulus is also called absolute value function.

You can call it in Java like this :

===========================================================

class <CLASSNAME> {

   public static void main(String args[]) {

       System.out.println("Absolute value of -4 is : " + Math.abs(-4));

   }

}

===========================================================

Or in Python3.X like this :

=========================================

print('Absolute value of -5 is : {}'.format(abs(-5)))

=========================================

Similar questions