What is a correct body of the following loop which should add all the elements of an array defined by: float account[R][C];

for (int r = 0; r < R; r++)
for (int c = 0; c < C; c++) // loop headers

a) total += account [R][C];
b) total += account [r][c];
c) total += account [C][R];
d) total += account [c][r];


b) total += account [r][c];

Computer Science & Information Technology

You might also like to view...

A(n) _____ workstation is used in manufacturing plants by engineers to create things

Fill in the blank(s) with correct word

Computer Science & Information Technology

CSS makes it possible to customize the appearance and behavior (often called look and attitude) of the Web site for each customer simply by changing the values in the style sheets.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ____________________ object is used to read text from a file into the program.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

An identifier that shows the exact value of a data point in a chart.

What will be an ideal response?

Computer Science & Information Technology