Cursos
Iniciar sesiónComenzar a aprender IA
Cursos
Iniciar sesiónComenzar a aprender IA
+ 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

javascriptc#javaect%
19th Oct 2018, 4:01 PM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar
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
19th Oct 2018, 4:04 PM
Schindlabua
Schindlabua - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Stuck in Quize
1 Votes
C Program
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
Software developer
0 Votes
Asking for final year project ideas!
1 Votes
How does JavaScript's event loop handle asynchronous operations like setTimeout, Promises, and async/await, and what are the dif
1 Votes
есть кто на русском разговаривает?
0 Votes