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--)
Computer Science & Information Technology
You might also like to view...
Headers and footers in tables and queries can be edited by the user before printing
Indicate whether the statement is true or false
Computer Science & Information Technology
The statement ____ assigns the string "Paris" to the element located in the first row, second column in thestrCitiesarray.
A. strCities(1, 1) = {Paris} B. strCities(0, 1) = "Paris" C. strCities(0, 0) = (Paris) D. strCities(1, 0) = "Paris"
Computer Science & Information Technology