Consider the code segment below.

```
if (gender == 1)
{
if (age >= 65)
++seniorFemales;
```

This segment is equivalent to which of the following?
a. if (gender == 1 || age >= 65)
++seniorFemales;
b. if (gender == 1 && age >= 65)
++seniorFemales;
c. if (gender == 1 AND age >= 65)
++seniorFemales;
d. if (gender == 1 OR age >= 65)
++seniorFemales;


b. if (gender == 1 && age >= 65)
++seniorFemales;

Computer Science & Information Technology

You might also like to view...

This is a form of ISDN that generally is carried over a T1 line and can provide transmission rates of up to 1.544 Mbps.

What will be an ideal response?

Computer Science & Information Technology

Inter-computer communication is enabled by __________ software installed on both machines.

a. device management b. communication services c. processor management d. Inter-computer communication is enabled by hardware, not software.

Computer Science & Information Technology

Which of the following creates a mirror image of the artwork?

A. Rotating B. Matching C. Repeating D. Flipping

Computer Science & Information Technology

The ________ dialog box is where the user enters cell addresses, cell ranges, or constants to complete a function

A) Input B) Function Arguments C) Data D) Parameter

Computer Science & Information Technology