Consider the following script. What is wrong with the following code?

```
1
```

a) thirdNumber in line 8 must be in quotes.
b) The words Enter an integer in line 7 should not be in quotes.
c) The word var must be placed before secondNumber in line 3.
d) The word var must be placed before thirdNumber in line 4.


d) The word var must be placed before thirdNumber in line 4.

Computer Science & Information Technology

You might also like to view...

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 + 1 End If End For Display num ``` a. 3 b. 0 c. 5 d. 4

Computer Science & Information Technology

The classpath consists of a list of directories or archive files, each separated by a ________ on Windows or a ________ on UNIX/Linux/Max OS X.

a. colon (:), semicolon (;). b. semicolon (;), colon (:). c. comma (,), semicolon (;). d. semicolon (;), comma (,).

Computer Science & Information Technology

1. __________ is total execution time (for all programs) divided by total elapsed time, and is often expressed as a percentage.

a. Throughput b. Turnaround c. Response time d. none of the above

Computer Science & Information Technology

During the ________ process, Microsoft, for example, records information about your computer

Fill in the blank(s) with correct word

Computer Science & Information Technology