if (arr[i] % 2 == 1)s=average(a,12);OK
/***************found******************/if(arr[i]%2==1){s = s+ arr[i]; k++;}return (s/(double)k);}
if (arr[i] % 2 == 1)s=average(a,12);