+ 4
Plz explain it??
var myVariable = 10 % 6; document.write(myVariable);
5 Respuestas
+ 14
The % operator, which is called 'modulo' in C++, is called 'remainder' in Java.
It performs the same operation: calculating the remainder of a division.
➝ Remember to use 🔍Search... bar to avoid from posting duplicate threads!
• Google Advanced Search :
Set domain to 》sololearn.com《 for search only on the SoloLearn
https://www.google.com/advanced_search
• Eclipse Wiki :
"Before asking a question on the forums"
https://wiki.eclipse.org/Before_asking_a_question_on_the_forums
• SoloLearn Advanced Search :
http://www.freecodeexamples.com/2018/12/sololearn-advanced-search.html
https://code.sololearn.com/W26q4WtwSP8W/?ref=app
https://code.sololearn.com/WvG0MJq2dQ6y/
+ 8
It's called modules. ভাগশেষ বের করা যায়।
+ 4
Thank all For answer
+ 2
10 gets divided by 6 and the rest is assigned to myVariable then the write function of the document gets called which outputs myVariable to screen.