You are designing a loop that is to exit only if the values of both x and y are 0. Which of the following would you use for your loop repetition condition?

a. x != 0 && y != 0
b. x != 0 || y != 0
c. !(x != 0) || !(y != 0)
d. x == 0 && y != 0


b. x != 0 || y != 0

Computer Science & Information Technology

You might also like to view...

If a variable is said to have block scope then that variable:

a) can be accessed by all methods b) can be accessed only by certain methods c) can be accessed only by the method in which it was defined d) None of the above

Computer Science & Information Technology

If you select the Use relative position for reference point icon on the options bar, the ____ of a placed file becomes the new reference point.

a. upper-left corner b. center point c. lower-left corner d. lower-right corner

Computer Science & Information Technology

The Input Mask Wizard can be used in the table's ________ view

A) Print Preview B) Datasheet C) Design D) Both Datasheet and Design

Computer Science & Information Technology

The smallest piece of data is called a bit

Indicate whether the statement is true or false.

Computer Science & Information Technology