Given the commands below, what do they do?

n = 0
for (position = 1 through intList.getLength())
n+= intList.getEntry(position)
a. insert integers into the list
b. sum the values found in list
c. sum the numbers 0 through n
d. calculate n!


b. sum the values found in list

Computer Science & Information Technology

You might also like to view...

The grouping in a crosstab query comes from the definitions of row and column headings

Indicate whether the statement is true or false

Computer Science & Information Technology

Why are memory address ranges shown as 00000 - 9FFFF?

A) The device requires more than one memory location. B) The port has more than one device attached. C) The device does not have enough memory installed. D) These are the memory options available from which the device can choose.

Computer Science & Information Technology