How many times is the body of the loop below executed?

int counter = 1;

while (counter > 20)
{
// body of loop
counter = counter - 1;
} // end while

a. 19.
b. 20.
c. 21.
d. 0.


d. 0.

Computer Science & Information Technology

You might also like to view...

Cookies can be temporary or ____.

A. persistent B. relational C. invisible D. hidden

Computer Science & Information Technology

When you see the build errors message in Visual Basic, you should always click the _____ button.

A. Exit B. Yes C. No D. Save

Computer Science & Information Technology

What type of functions allow large and complex programs to be broken into small and manageable tasks?

A. Program-defined B. Built-in C. Value-returning D. Void

Computer Science & Information Technology

Provide an example of a relationship type with attributes.

What will be an ideal response?

Computer Science & Information Technology