function prototype:
int difference(int,int);
function definition:
int difference(int a,int b)
{
return abs(a-b);
}
0
solved How can I create a function prototype in C++ which accepts two integers as parameters and returns their difference? [closed]