Ta có : \(2n+8⋮n-2\)
=> \(2n-4+12⋮n-2\)
Ta thấy : \(2\left(n-2\right)⋮n-2\)
=> \(12⋮n-2\)
=> \(n-2\inƯ_{\left(12\right)}\)
=> \(n-2=\left\{1,-1,2,-2,3,-3,4,-4,6,-6,12,-12\right\}\)
=> \(n=\left\{3,1,4,0,5,-1,6,-2,8,-4,14,-10\right\}\)
=> Tổng là : 24
Vậy đáp án C.