Modulus Operations
Take a look at the console below. What do you think the % operator does?
% Operator
The % performs a "modulus operation." Modulus operations give the remainder of division problems.
Below is a table that captures the same information that we were calculating in the console above. Note that the Division remainder and the Mod answer are the same!
Below is a table that captures the same information that we were calculating in the console above. Note that the Division remainder and the Mod answer are the same!
Challenge!
Fill in the "Division remainder" and "Mod answer" columns of the below table. If you like, type the mod problem into the console: