Using nested loops write code to display (using document.write) a set of asterisks to create a set of “stairs.”
*
**
***
****
*****
******
*******
```
for(i=0; i<7; i++){
for(j=0; j<=i; j++){
document.write(“*”);
}
}
```
Computer Science & Information Technology
You might also like to view...
Email is short for ____________________ mail.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
Include the keyword _____ in a media query to cause older, non-supporting browsers to ignore the media query.
a. viewport b. meta c. skip d. only
Computer Science & Information Technology
In a ________ query, every possible combination of records between two related records will be returned in the results
A) parameter B) linked C) cross join D) merge
Computer Science & Information Technology
Deleting a field from a query also deletes it from the underlying table.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology