+ 4
When i use in JavaScript '%' it becomes number odd. What's the meaning of this mark?
when i use%in Java or c++ ect,like alert(17%3) in JavaScript or in c# or c++ become 2 ,why ❓ https://code.sololearn.com/WEpcoBkX5LRN/?ref=app
1 Respuesta
+ 1
17 / 3 = 5, and 2 is left over.
Therefor 17 % 3 = 2.
https://www.sololearn.com/discuss/1293777/?ref=app
https://www.sololearn.com/discuss/988153/?ref=app
https://www.sololearn.com/discuss/1505951/?ref=app