Multiple Choice
Consider the following script. What is wrong with the following code
< script type = "text/javascript" >
Var firstNumber;
ThirdNumber;
FirstNumber = window.prompt("Enter an integer", "0") ;
SecondNumber = window.prompt("Enter an integer", "0") ;
ThirdNumber = firstNumber + secondNumber;
< /script >
A) thirdNumber in line 7 must be in quotes.
B) The words Enter an integer in line 6 should not be in quotes.
C) The word thirdnumber in line 3 should have a comma after it.
D) The word var must be placed before thirdNumber in line 3.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Which of the following statements would correctly
Q2: Which of the following is not a
Q3: In the following line, the word writeln
Q4: Which of the following operators associates from
Q6: Consider the following HTML5 code.<br>< html ><br><
Q7: Which of the following is not a
Q8: Whenever a value is placed in a
Q9: Which of the following sequences does not
Q10: What will the browser display if the
Q11: An alert dialog displaying the text "Welcome!"