✏️ Explanatory Question

What is the modulus operator?

👁 1,411 Views
📘 Detailed Answer
💡

Answer with Explanation

The modulus operator outputs the remainder of a division. It makes use of the percentage (%) symbol. For example: 10 % 3 = 1, meaning when you divide 10 by 3, the remainder is 1.