Answer the following statements true (T) or false (F)
1. In the following code fragment, x has the value of 3.
int x = 3;
2. The body of a do-while loop always executes at least once.
3. The body of a while loop may never execute.
4. The opposite of (x >3 && x < 10) is (x < 3 && x > 10)
5. The integer 0 is considered true.
1. TRUE
2. TRUE
3. TRUE
4. FALSE
5. FALSE
You might also like to view...
The Line Spacing button is found on the Home tab in the ________ group
Fill in the blank(s) with correct word
If a class represents a date (such as July 4, 1776), then the date could reasonably be stored in
a. A member variable of type ``` double. ``` b. Two member variables of type ``` int. ``` c. Three member variables of type ``` int. ``` d. A string of characters (like "July 4, 1776"). e. A string for the month and two int variables.