write a program to use function void diff(inta,intb) to print absolute difference between a and b.
Answers
Answered by
5
Answer:
Given an integer N, the task is to find the absolute value of the given integer.
Examples:
Input: N = -6
Output: 6
Input: N = 12
Output: 12
Similar questions
Science,
12 hours ago
Social Sciences,
12 hours ago
Math,
23 hours ago
Social Sciences,
8 months ago
English,
8 months ago
English,
8 months ago