The mean value of alternating current comes to be zero because of half of the cycle being positive while the other half negative. so, take the root means square value of Alternating current given by:
$I_{rms} = 0.707\times I_{max}$
But why do we take "rms" for direct current? if we take the simple average of direct current, we would come up with a value which is not zero (it is zero in AC).