Which of the following loop headers will arrange for the loop body to execute exactly 10 times?

a) for (int i = 1; i < 10; ++i)
b) for (int i = 0; i <= 10; ++i)
c) for (int i = –5; i < 5; ++i)
d) for (int i = 2; i < 20; ++i)

c.

Computer Science & Information Technology

You might also like to view...

To save a web query in Excel, use the ________ on the Data tab

A) Data Validation command B) Connections command C) Edit Links command D) Properties

Computer Science & Information Technology

The people that manage security for the organization should not be same people that conduct risk analysis.

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

Computer Science & Information Technology