What is the output of this code segment?
```
for (k = 5; k > 0; k = k - 1) {
for (i = 1; i <= 5 - k; i = i + 1)
printf(".");
for (j = 1; j <= 2 * k - 1; j = j + 1)
printf("B");
printf("\n");
}
```
BBBBBBBBB
.BBBBBB
..BBBBB
...BBB
....B
You might also like to view...
What is a generic algorithm?
What will be an ideal response?
The green circle you see above a selected picture is the ____.
A. sizing handle B. rotate handle C. flipping handle D. move handle
Clicking the Table move handle icon, , selects the entire table.
Answer the following statement true (T) or false (F)
Referring to the figure below, please identify the letter of the choice that best matches the numbered area on the screen.
A. Attribute B. Opening tag C. Content D. Closing tag E. Element