Answers for "js code stars"

1

js code stars

for (var index = 0; index <= 10; index++){
    for(stars = 0; stars < index; stars++){
        document.write("*");
    };
    document.write("<br>");
};
Posted by: Guest on May-04-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language