An______ function is used to return the absolute value of any expression. Subject Computer
Answers
Answered by
1
Answer:
The 'abs' function returns the absolute value of the mathematical expression.
Answered by
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
English,
14 days ago
English,
14 days ago
Math,
14 days ago
Math,
1 month ago
Social Sciences,
1 month ago
Chemistry,
8 months ago
World Languages,
8 months ago