showing results for - "modulo operator multiples 2c explain how it works"
Nestor
14 Jun 2016
11 % 5 = 1
2// 1 cannot be divided by 5, so the remainder is 1
3
44 % 5 = 4
5// 4 cannot be divided by 5, so the remainder is 4
6
77 % 5 = 2
8// 7 divided by 5 equals 1, with a remainder of 2
9
1025 % 5 = 0
11// 25 divided by 5 equals 5, with a remainder of 0
12
13218 % 5 = 3
14// 218 divided by 5 equals 43, with a remainder of 3
15