Page 156 - CITS - CSA - TP (Volume 1) - Hindi
P. 156

कंप्यूटर सॉफ्टवेयर एप्लीकेशन- CITS




























           टा  10:  ील लूप का उपयोग करना

           1  टे  एिडटर ओपन कर

           2  िन िल खत कोड िलख
              <html >

              <head>
              <title> while loop </title>

              </head>
              <body>
              <script>

              let count = 0;
              while (count < 5)
              {

              console.log(“Count:”, count);
              count++;
              }

              </script>
              </body>

              </html>





















                                                           140

                                      CITS : IT & ITES - कं  ूटर सॉ वेयर ए ीके शन - अ ास 39
   151   152   153   154   155   156   157   158   159   160   161