Which line of code will check if any character in the string variable pword is the letter X and return true for the variable check?

```
var check = false;
for (i = 0; i < pword.length; i++)
{
_____???_______
check = true;
}
```

a.
```
if (var charX == "X");
```

b.
```
if (var charX == charX.charAt[i]);
```

c.
```
if (var charX.charAt[i] == "X");
```

d.
```
if (var charX.charCodeAt[i] == "X");
```

c.
```
if (var charX.charAt[i] == "X");
```

Computer Science & Information Technology

You might also like to view...

Any file that starts a program is knowns as a(n) ________ file

Fill in the blank(s) with correct word

Computer Science & Information Technology

Unlike the CLI, the SDM does allow a router to be configured as a firewall. To begin this task, click the ____ icon in the Tasks panel.

A. Firewall and ACL B. Security Audit C. Routing D. NAT

Computer Science & Information Technology