+ 1
Can someone explain to me how the math is done in this code?
It's for school <html> <body> <p id="sh1"></p> <script> var ij; var shuma=0; for (i=1;i<4;i++){ for (j=2; j<4; j++) {shuma =shuma+i*j;} } document.getElementById("sh1").innerHTML = shuma; </script> </body> </html>
1 Odpowiedź
0
Is this your homework?