Computer Science, asked by Ash34567, 1 year ago

Please give me the answer

It's Urgent

Attachments:

Answers

Answered by AKASHDIPDAS
0
<HTML>
< TITLE > WE ARE THE BEST PROGRAMMERS </TITLE>
<HEAD>
<BODY>
"*
**
***
****
*****
******
********
*******.........."
<BODY>
</HEAD>


Ash34567: Do you know something!
Ash34567: You don't know the answer and didn't understand the question
Answered by Anonymous
1

Hi

<!DOCTYPE html>

<html lang="en">

<head>

   <meta charset="UTF-8">

   <title>Asterisk Rows Printer</title>

</head>

<body>

   <script>

       var howManyRows = parseInt(prompt('How many rows you want?'));

       var currentRow = '';

       for (var i = 0; i <= howManyRows; i++) {

         for (var j = 0; j < i; j++) {

             currentRow += "*";

         }

         currentRow += "<br>";

       };

       document.write(currentRow);

   </script>

</body>

</html>

Similar questions
Math, 1 year ago