4. In which situations do you use the modulus (%) operator?
Answers
Answered by
1
Answer:
The modulus operator returns the remainder of a division of one number by another. In most programming languages, modulo is indicated with a percent sign. For example, "4 mod 2" or "4%2" returns 0, because 2 divides into 4 perfectly, without a remainder
hope this helps you
Similar questions
English,
1 month ago
Hindi,
1 month ago
Computer Science,
3 months ago
Chemistry,
3 months ago
English,
8 months ago
Political Science,
8 months ago
Social Sciences,
8 months ago