Write the command that will output the number of elements in a vector called studentList.
What will be an ideal response?
cout << studentList.size();
You might also like to view...
Write the declaration for a two-dimensional array of integers that can be thought of as a table with three rows and three columns. Assign the value 3 to the cell that is in the second row and the third column.
What will be an ideal response?
A text box cannot be placed in the middle of a sentence
Indicate whether the statement is true or false
Formulas that are used in a one-variable data table must refer to several input cells
Indicate whether the statement is true or false.
If you want to execute one set of statements when a condition evaluates to a truthy value and another set of statements when the condition evaluates to a falsy value, you need the ____ statement.
A. while B. if/else C. do/while D. switch