If you're seeing this message, it means we're having trouble loading external resources on our website.
If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.
To log in and use all the features of Khan Academy, please enable JavaScript in your browser.
mgAmounts ← [50, 230, 63, 98, 80, 120, 71, 158, 41] bestAmounts ← [] mgPerDay ← 360 mgMin ← mgPerDay * 0.3 FOR EACH mgAmount IN mgAmounts { IF (mgAmount ≥ mgMin) { <MISSING CODE> } }
<MISSING CODE>
APPEND(bestAmounts, mgAmount)
APPEND(mgAmounts, mgAmount)
INSERT(bestAmounts, mgAmounts)
INSERT(mgAmounts, mgAmount)
INSERT(bestAmounts, mgAmount)
APPEND(bestAmounts, mgAmounts)