+ 4
Plz explain it??
var myVariable = 10 % 6; document.write(myVariable);
5 Answers
+ 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.