What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-22 21:56:02
use case of modulo operator
// given a list of widgets, files, people, etc. longList = 10000; feedbackInterval = 100; // to be used as the modulus // loop over the list to process each item for( i=1; i <= longList; i++ ) { // perform some operation // mod operation give... Add solution
Best helpers
Ranking is empty