Find the absolute value of a number entered by the user
Answers
Answered by
1
Solution:
If x € Z,
Absolute value of x, is denoted
by |x|,
i) |x| = x if x> 0
ii) |x| = 0 , if x = 0
iii) |x| = - x , if x < 0
••••
Similar questions