The % remainder is generally used to avoid that the value can get higher than this
When you say % totalCities the result is 0,1,2… up to totalCities-1
The % remainder is generally used to avoid that the value can get higher than this
When you say % totalCities the result is 0,1,2… up to totalCities-1