Shrikant Baheti Java Script Programs Print Table Of Any Number In JavaScript

Print Table Of Any Number In JavaScript

    <script>

        let b =prompt(“Enter Number”);

        for(let a=1;a<=10;a++){

            document.write( b + ” x “+ a + ” = ” + + a * b +”<br>”);

        }

    </script>

Related Post