$d) { $count += $d; } } echo $count * $a;