In which situations do you use the modulus (%) operator?
Answers
Answered by
2
Answer:
The modulus operator is useful in a variety of circumstances. It is commonly used to take a randomly generated number and reduce that number to a random number on a smaller range, and it can also quickly tell you if one number is a factor of another.
Answered by
0
Answer:
the modulus (%) operator is use to when you want to find a reminder example
int d=5;
int c=d%100;
Similar questions