+ 2

# I think I missed something. What does the % symbol do?

3 Answers

+ 4

take this for example:
9%4 = 1
you can fit two 4s in 9 and the remainder is 1

+ 3

it's the remainder operator

+ 1

also called modulus or modulob sometimes

+ 2

3 Answers

+ 4

take this for example:
9%4 = 1
you can fit two 4s in 9 and the remainder is 1

+ 3

it's the remainder operator

+ 1

also called modulus or modulob sometimes