English, asked by indremalsoni, 3 months ago


4. In which situations do you use the modulus (%) operator?

Answers

Answered by lankaharshitha99
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