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

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a file structured by the use of delimiters

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Text fields have the default properties as well, which includes a default Field Size property of 385 characters.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology