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.
eggsInBatch ← 3 numBatches ← 9 neededEggs ← eggsInBatch * numBatches
leftoverEggs ← 12 - (neededEggs MOD 12)
leftoverEggs ← (neededEggs MOD 12) - 12
leftoverEggs ← 12 + (neededEggs MOD 12)
leftoverEggs ← neededEggs * 12
leftoverEggs ← neededEggs MOD 12
leftoverEggs ← 12 + (neededEggs / 12)