Skip to main content

Modulo ની ગણતરી કેવી રીતે કરવી

Modulo શું છે?

Modulo (%) gives the remainder after division: a mod b = remainder of a ÷ b. It is fundamental to clock arithmetic, cryptography, hashing, cyclic patterns, and determining even/odd numbers. In programming, % is the modulo operator.

પગલું દ્વારા પગલું માર્ગદર્શિકા

  1. 117 mod 5 = 2 (because 17 = 3×5 + 2)
  2. 2Even numbers: n mod 2 = 0; Odd: n mod 2 = 1
  3. 3Clock arithmetic: (current hour + hours to add) mod 12
  4. 4Modular arithmetic: (a + b) mod n = ((a mod n) + (b mod n)) mod n

Worked Examples

ઇનપુટ
23 mod 7
પરિણામ
2
23 = 3×7 + 2
ઇનપુટ
100 mod 12 (clock)
પરિણામ
4
100 hours later = 4 AM

ગણતરી માટે તૈયાર છો? મફત Modulo કેલ્ક્યુલેટર અજમાવી જુઓ

તેને જાતે અજમાવી જુઓ →

સेटिंग्स