Computer Science, asked by guptariddhima441, 23 hours ago

write a program to use function void diff(inta,intb) to print absolute difference between a and b.​

Answers

Answered by diptik664986
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