C++ · Variables, types and arithmetic

Lab: Cartons and change

A packing line counts cartons and a register counts change, and both come down to dividing whole numbers and keeping what is left.