<?php $notes = array(1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6); foreach ($notes as $note) { echo '(3.5 + '.$note.') / 2 = '.round((3.5 / $note) / 2, 2); }
You have javascript disabled. You will not be able to edit any code.