The for header can be used to vary the control variable over the odd num- bers between 1 and 10.

a) for ( i = 1 ; i <= 10; i++ )
b) for ( i = 1 ; i <= 10; i += 2 )
c) for ( i = 1 ; i <= 10; i-- )
d) for ( i = 1 ; i <= 10; i -= 2 )


b) for ( i = 1 ; i <= 10; i += 2 )

Computer Science & Information Technology

You might also like to view...

Referring to the accompanying figure, which of the following is pointed to by callout G?

A. the Start button B. the Search box C. the Pinned items list D. shut down options

Computer Science & Information Technology

Suppose the project team prototypes the home page and the first-level pages. What type of prototype is this?

What will be an ideal response?

Computer Science & Information Technology

What is a package in U M L approach?

What will be an ideal response?

Computer Science & Information Technology

Create a link to each of the following:

a) index.html, located in the files directory; b) index.html, located in the text subdirectory of the files directory; c) index.html, located in the other directory in your parent directory (Hint:.. signifies parent directory.); d) A link to the President’s email address (president@whitehouse.gov);

Computer Science & Information Technology