What value is assigned to the half variable?
Please examine the following code sample:
```
int distance; // Declare distance as an int
double half; // Declare half as a double
distance = 35; // Assign 35 to distance
half = distance / 2; // Calculate half the distance
```
a. 70
b. 17.5
c. 18
d. 17
d. 17
You might also like to view...
If you have two columns on one page and want to change to one column on the same page, insert a(n):
A) indent. B) section break. C) center tab. D) leader.
Answer the following statements true (T) or false (F)
1. On a traditional IBM mainframe running under MVS, the contents of a given partition are described in a series of task control blocks spun off the partition’s request block. 2. On a traditional IBM mainframe running under MVS, the existence of a task control block or TCB indicates that the partition holds an active task. 3. On a traditional IBM mainframe running under MVS, the initiator/terminator is activated after any interrupt. 4. Under MVS, following any interrupt, the appropriate old PSW is stored in the interrupted program’s request block.