Created
August 24, 2021 10:56
-
-
Save asakpke/a67b6245a1d7c78ef6363fb0b49ae24e to your computer and use it in GitHub Desktop.
12 Learn Computer Programming/Coding on Your Mobile/Cell/Smart Phone in Urdu/Hindi - Nested Loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
for(var olv = 1; olv < 21; olv++) | |
{ | |
//var num = 2 | |
var num = olv | |
var result = 0 | |
document.write("<h1>Table of " + num + "</h1>") | |
for(var lv=1; lv < 11; lv++) | |
{ | |
result = num * lv | |
document.write(num + ' x ' + lv + ' = ' + result + '<br>') | |
} // lv | |
} // olv | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference video: "12 Learn Computer Programming/Coding on Your Mobile/Cell/Smart Phone in Urdu/Hindi - Nested Loop" https://youtu.be/JlIbBwdEEFE