We can easuly get a range of output value after mod:
Code: for 100 here print from 0 to 99 range
146732 100 146732 mod 100 = 32 Process returned 0 (0x0) execution time : 5.181 s Press ENTER to continue.
Another Code: here for 1000 it will print 0 to 999 range
32432434 1000 32432434 mod 1000 = 434 Process returned 0 (0x0) execution time : 5.904 s Press ENTER to continue.