An algorithm to find out the absolute value of a number
Answers
Answered by
3
Answer:
All you need to do is accept a number whose absolute value you want to find using the scan function.
Then using the if-else conditional loop check if the number is positive or negative. If the number is positive, then the absolute value remains the same.
Answered by
0
Answer:
program to find absolute value of given number using
Similar questions