Which of the following will create a rectangular block of symbols (#'s) with 3 rows and 4 symbols in each row?
a.
```
for(row = 0; row < 4; row++
{
for(col = 0; col < 5; col++)
document.write("#");
}
```
b.
```
for(row = 1; row < 4; row++
{
for(col = 1; col < 5; col++)
document.write("#
");
}
```
c.
```
for(row = 0; row < 4; row++
{
for(col = 0; col < 3; col++)
document.write("#
");
}
```
d.
```
for(row = 1; row < 3; row++
{
for(col = 1; col < 4; col++)
document.write("#");
document.write("
");
}
```
b.
```
for(row = 1; row < 4; row++
{
for(col = 1; col < 5; col++)
document.write("#
");
}
```
You might also like to view...
One thing you should always try to include in a Search feature is:
a. Fancy wording b. Instructions c. The word “search” or a search icon (magnifying glass) d. Options for limiting the scope of the search
The Atanasoff-Berry Computer was the first computing device to use ________ instead of mechanical switches as processing circuitry.
Fill in the blank(s) with the appropriate word(s).
The ____ command line tool is a built-in application for keys and certificates management in Java.
A. keytool B. certtool C. keystore D. keygen
“The tragedy of the commons” suggests that any shared resource will be destroyed by
a. theft. b. erosion. c. overuse. d. teenagers.