  We describe the subgroups of the group $\Z_m \times \Z_n \times \Z_r$ and
derive a simple formula for the total number $s(m,n,r)$ of the subgroups, where
$m,n,r$ are arbitrary positive integers. An asymptotic formula for the function
$n\mapsto s(n,n,n)$ is also deduced.
