Which of the following will count down from 10 to 1 correctly?
a. for (int j = 10; j <= 1; j++)
b. for (int j = 1; j <= 10; j++)
c. for (int j = 10; j > 1; j--)
d. for (int j = 10; j >= 1; j--)
d. for (int j = 10; j >= 1; j--)
You might also like to view...
What four kinds of information is the analyst seeking through prototyping?
What will be an ideal response?
A numeric value can be treated as a label value if it precedes with
Select one: A. Ampersand (&) B. Apostrophe (') C. Hash (#) D. Exclamation (!)
Word processing software is likely to include which of the following features?
A. Search and Replace and readability formula B. What-if analysis and worksheet C. Cell references and functions D. All of the above
Which of the following is true about data collection?
a. it is sometimes necessary so more can be understood about behavior b. it is the foundation for creating behavioral interventions c. it is not always necessary to implement for intervention purposes d. it is only necessary when the beh. cannot be clearly understood