$score) { $total_score += $score; ++$count; } $answer = ($total_score-$exclude_num)/($count-2); printf("%.2f",$answer); ?>