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

1. The update expression of a for loop can contain more than one statement, for example:
for(i = 5; i <= 10; i++, total+= sales)

2. Multiple relational expressions cannot be placed into the test condition of a for loop.
3. You may nest while and do-while loops but you may not nest for loops.
4. You may not use the break statement in a nested loop.

1. T
2. T
3. F
4. F

Computer Science & Information Technology

You might also like to view...

The relative humidity range in the server room should be 40 percent to 60 percent

Indicate whether the statement is true or false.

Computer Science & Information Technology

To assign a task to someone else in the Task window, on the Task tab, in the Manage Task group, click the Assign Task button.

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

Computer Science & Information Technology