What will the value of num be for i) and ii) respectively after the loops have been executed?

Consider the following code selections. Assume count is initialized to 7 and num is initialized to 0.
```
i) ii)
do { while ( count < 6 )
num = count; num = count;
} while ( count < 6 )
```

a) 0, 0
b) 0, 7
c) 7, 0
d) 7, 7


c) 7, 0

Computer Science & Information Technology

You might also like to view...

Pressing the Shift key when the insertion point is at the beginning of a bullet point indents it to the next bullet level

Indicate whether the statement is true or false

Computer Science & Information Technology

The Highlighting color can not be changed

Indicate whether the statement is true or false

Computer Science & Information Technology

?Companies use various _____ methods to maintain output integrity and security.

A. ?output stream B. ?output aesthetic C. ?output control D. ?output data

Computer Science & Information Technology

Enables users to make changes to a layout while viewing the data in the form or report.

What will be an ideal response?

Computer Science & Information Technology