What will be displayed when the following code is executed?

```
int number = 6;
while (number > 0) {
number -= 3;
System.out.print(number + " ");
}
```
a. 6 3 0
b. 6 3
c. 3 0
d. 3 0 -3
e. 0 -3


c. 3 0

Computer Science & Information Technology

You might also like to view...

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

1. A control’s name should reflect the purpose of the control. 2. C# identifiers can contain spaces after the first character. 3. The first character of a C# identifier must be one of the letters a through z or A through Z or an underscore character (_). 4. A Hello World program is a simple program that merely displays the words “Hello World” on the screen.

Computer Science & Information Technology

Suppose that the operations of the BLOB object are separated into two categories – public operations that are available to all users and protected operations that are available only to certain named users. State all of the problems involved in ensuring that only the named users can use a protected operation. Supposing that access to a protected operation provides information that should not be revealed to all users, what further problems arise?

What will be an ideal response?

Computer Science & Information Technology

Which of the following handout printing options places thumbnails of the slides on the left and lines on which the audience can write on the right side?

A) Three slides per page B) Two slides per page C) Five slides per page D) Nine slides per page

Computer Science & Information Technology

Data that describes other data is known as ________.

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

Computer Science & Information Technology