Ver originalfor($i="a"; $i<"k"; $i++){$numarray[]=rand(1,7);}$suma=array_sum($numarray);$total=count($numarray);$media=$suma / $total;print_r($media);