This segment is equivalent to which of the following?

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

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;
}
```


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

Computer Science & Information Technology

You might also like to view...

In creating C++ functions we must be concerned with both the function itself and how it interacts with other functions, such as main().

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What are the four types of user interface designs?

What will be an ideal response?

Computer Science & Information Technology

________ is a standard newsgroup category that relates to sciences and social sciences.

a. Misc b. Sci c. Comp d. Soc

Computer Science & Information Technology

Which of the following Adobe products would be the best choice for editing bitmap images?

A. Premiere B. Photoshop C. Illustrator D. Dreamweaver

Computer Science & Information Technology