Write a program that defines a function named "absolute" which takes a
number as input and returns its absolute value. Then take a number as input
from the user and use the function defined before to get its absolute value and show it on display
Answers
Answered by
2
Answer:
hello please follow me please mark as brainlist
Explanation:
abs( ) function in C returns the absolute value of an integer. The absolute value of a number is always positive. Only integer values are supported in C. “stdlib.
Language: abs function (Absolute Value of Integer)
Syntax. The syntax for the abs function in the C Language is: int abs(int x); ...
Returns. The abs function returns the absolute value of an integer represented by x.
Required Header. In the C Language, the required header for the abs function is: #include <stdlib.h>
Applies To. ...
Similar Functions
I hope you give me a mark as brainlist
Similar questions