Jessica's JavaScriptmas Challenge

1. Candies


Find out how many candies each child receives if a certain number of candies is divided equally amongst them.

Individual candies cannot be divided, so there may be leftovers.










Each child receives: e.g. 4 candies


Total candies eaten: e.g. 20


Leftover candies: e.g. 3