Given the following pseudocode variable declaration, which of the statements shown would display the last character in the string?

```
Declare String lunch = "Spaghetti is stringy!"
```

a. Display lunch[0]
b. Display lunch[18]
c. Display lunch[length(lunch)]
d. Display lunch[length(lunch) - 1]

d. Display lunch[length(lunch) - 1]

Computer Science & Information Technology

You might also like to view...

____________________ punctuation style includes a colon after the salutation and a comma after the complimentary closing.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The _______________________ enables you to view the JavaScript code generated by Edge Animate.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology