In this while loop statement, while(counter < 10) the variable counter is an int. Which statement below is an equivalent way to write this while statement?

A. while(10 > counter)
B. while( counter <= 9)
C. while(9 > counter)
D. A and B are correct


D. A and B are correct

Computer Science & Information Technology

You might also like to view...

^ is the symbol for ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

In Babbage's Analytical Engine, a mill was most like the ____ of modern-day computers.

A. RAM B. processor C. logic unit D. input/output

Computer Science & Information Technology

Which two executable files start the Registry editor?

What will be an ideal response?

Computer Science & Information Technology

Analyzing risks is a two-step process that includes both ____ analysis.

A: qualitative and quantitative B: profit and loss C: timing and critical path D: identification and response

Computer Science & Information Technology