In the following statement that begins a For…Next loop, what is the purpose of the Step clause?

For intX = 1 to 100 Step 5

a. It causes intX to be initialized to 5 when the loop begins.
b. It causes the loop to end when intX is equal to 5.
c. It causes intX to be incremented by 5 each time the loop repeats.
d. It causes intX to be decremented by 5 each time the loop repeats.

c. It causes intX to be incremented by 5 each time the loop repeats.

Computer Science & Information Technology

You might also like to view...

A(n) ________ has an extra layer of special ink in which tiny, precise patches are burned causing them to block light

Fill in the blank(s) with correct word

Computer Science & Information Technology

A lookup table contains The available functions for this specific workbook

Indicate whether the statement is true or false

Computer Science & Information Technology