If the following pseudocode was coded and executed, what would display?

```
Declare String str = "a1b2c3d4"
Declare Integer index
Declare Integer num = 0
For index = 0 To length(str) - 1
If isDigit(str[index]) Then
Set num = num + index
End If
End For
Display num

```

a. 15
b. 8
c. 16
d. 28

c. 16

Computer Science & Information Technology

You might also like to view...

Given the code below

``` function Rectangle(x, y) { this.x = x; this.y = y; this.width = 40; this.height = 20; this.moveDown = function () { this.y += 5; }; } ``` write a statement to create a Rectangle object named rectangleA with x=200 and y=10

Computer Science & Information Technology

Audit risk is the probability that the auditor will render an unqualified opinion on financial statements that are materially misstated.

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

Computer Science & Information Technology