Print patterns of numbers and stars:
Displaying stars in rows and columns using Javascript loops:
var rows=5;
var cols=5;
for(var i=1;i<=rows;i++)
{
for(var j=1;j<=cols;j++)
{
document.write(” * “);
}
document.write(“<br/>”);
}
Output:
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *
========================================================
Follow the link for next video: https://youtu.be/ItOmYp9AKOA
Follow the link for previous video: https://youtu.be/3PAkBfYysio
========= For more benefits & Be up to date ===================
Subscribe to the channel:
https://www.youtube.com/chidrestechtu…
Like the Facebook fan page:
https://www.facebook.com/ManjunathChidre
Visit to Chidre’s Tech Tutorials website:
http://www.chidrestechtutorials.com
========================================================
Original source
Chidre'sTechTutorials
Chidre's Tech Tutorials – Best Educational YouTube channel
VISION: Helping students around the world to learn at free of cost
WEBSITE: https://www.chidrestechtutorials.com
SUBSCRIBE: https://www.youtube.com/chidrestechtutorials
Bennett Marcelo
brutha thank you for showing the debugger tool, soo helpful
Batur Serter
This video is the best explanation on the subject. Thank you very much. I clearly understood the logic.
Sam Tube
Thank you so much Sir! I had to watch this video twice to understand and in the second time i was clear of this process.
Adhitya Poernama
thank you for this, brother
TheMahdip
thank you very much sir you are the best
,better explanation than my goddamn expensive tutor,
Hira Memon
Good job…
Asel Hilu
I can't get the nested loops but I will keep watching this tut again and again 😊 thanks