Answer:
int half(int x){
int a=x/2;
return a;
}
Explanation:
function half(x) which has return type integer and accept an integer type parameter 'x' and return the an integer value in variable 'a' which is closest to half  that of the parameter 'x'.